Skip to content

Commit

Permalink
πŸ‘· update CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
o4kapuk committed Jan 10, 2025
1 parent 579f5d0 commit 98c561f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-depots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@ jobs:
steps:
- name: ‡️ Checkout
uses: actions/checkout@v3
- name: πŸ”– Generate depot tag
run: echo '::set-output name=IMAGE_TAG::'$(echo ${{ github.sha }} | cut -c1-8)
- name: πŸ”– Generate image tag
run: echo IMAGE_TAG=$(echo ${{ github.sha }} | cut -c1-8) >> $GITHUB_OUTPUT
id: tag-generator
- name: πŸ—οΈ Prepare artifact data
run: |
mkdir -p .depot/win/resources/app/arena-definitions && cp -r ./[!.]* .depot/win/resources/app/arena-definitions/
mkdir -p .depot/mac/Arena.app/Contents/Resources/app/arena-definitions && cp -r ./[!.]* .depot/mac/Arena.app/Contents/Resources/app/arena-definitions/
- name: πŸ“¦ Publish depot (win)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: definitions-${{ steps.tag-generator.outputs.IMAGE_TAG }}-win
path: .depot/win
- name: πŸ“¦ Publish depot (mac)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: definitions-${{ steps.tag-generator.outputs.IMAGE_TAG }}-mac
path: .depot/mac

0 comments on commit 98c561f

Please sign in to comment.