@@ -2,36 +2,31 @@ name: Release All Pipeline
22on :
33 workflow_dispatch :
44jobs :
5- build-deploy :
5+ build-deploy :
66 runs-on : self-hosted
77 env :
8- SCROLL_REGISTRY_ENDPOINT : ${{ secrets.SCROLL_REGISTRY_ENDPOINT }}
9- SCROLL_REGISTRY_API_KEY : ${{ secrets.SCROLL_REGISTRY_API_KEY }}
10- SCROLL_REGISTRY_API_SECRET : ${{ secrets.SCROLL_REGISTRY_API_SECRET }}
11- SCROLL_REGISTRY_BUCKET : ${{ secrets.SCROLL_REGISTRY_BUCKET_LIVE }}
8+ SCROLL_REGISTRY_ENDPOINT : ${{ secrets.SCROLL_REGISTRY_ENDPOINT }}
9+ SCROLL_REGISTRY_API_KEY : ${{ secrets.SCROLL_REGISTRY_API_KEY }}
10+ SCROLL_REGISTRY_API_SECRET : ${{ secrets.SCROLL_REGISTRY_API_SECRET }}
11+ SCROLL_REGISTRY_BUCKET : ${{ secrets.SCROLL_REGISTRY_BUCKET_LIVE }}
1212 steps :
1313 - uses : actions/checkout@v3
14- - uses : actions/setup-go@v3
14+ - name : Get registry binary
15+ uses : robinraju/release-downloader@v1.7
1516 with :
16- go-version : ' >=1.19.3'
17- cache : true
18- cache-dependency-path : scrolls-registry
19- - name : Build Scroll Registry Tool
20- shell : bash
21- run : |
22- go install ./scrolls-registry/scroll-registry.go
23- echo "$GOBIN" >> $GITHUB_PATH
17+ repository : " highcard-dev/backend-monorepo-go"
18+ latest : true
19+ fileName : " scrolls-registry"
20+ token : ${{ secrets.GO_REPO_TOKEN }}
21+ - run : chmod +x ./scrolls-registry
2422 - name : Building only version updates
25- run :
26- scroll-registry build -d ./scrolls
23+ run : ./scrolls-registry build -d ./scrolls
2724 - name : Pushing new scrolls
2825 shell : bash
2926 run : |
30- scroll -registry push -d ./scrolls -t packages
31- scroll -registry push -d ./scrolls -t registry-index
27+ ./scrolls -registry push -d ./scrolls -t packages
28+ ./scrolls -registry push -d ./scrolls -t registry-index
3229 - name : Pushing new scrolls i18n
33- run :
34- scroll-registry push -d ./scrolls -t translations
30+ run : ./scrolls-registry push -d ./scrolls -t translations
3531 - name : Cleanup
36- run :
37- scroll-registry clean
32+ run : ./scrolls-registry clean
0 commit comments