fix(ci): sync update-comps update-nightly

This commit is contained in:
windowsboy111
2023-04-22 11:46:10 +08:00
parent 17e328d3a8
commit b9087fe2fb
3 changed files with 16 additions and 2 deletions
+5 -1
View File
@@ -17,9 +17,13 @@ jobs:
image: ghcr.io/terrapkg/builder:main
steps:
- uses: actions/checkout@v3
- id: get-branch
uses: grandmasterdev/github-action-get-branch@latest
- name: Push to subatomic
run: |
branch=${{steps.get-branch.outputs.branch-name}}
ver=${branch/f/}
subatomic-cli upload-comps \
--server https://subatomic.fyralabs.com \
--token ${{ secrets.SUBATOMIC_TOKEN }} \
terra37 comps.xml
"terra${ver}" comps.xml