π· remove tagging step #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build steam depots | |
on: push | |
permissions: | |
contents: read | |
packages: write | |
jobs: | |
build: | |
if: "!contains(github.event.head_commit.message, 'skip ci')" | |
runs-on: ubuntu-latest | |
steps: | |
- name: β€΅οΈ Checkout | |
uses: actions/checkout@v3 | |
- name: π Generate depot tag | |
run: echo '::set-output name=IMAGE_TAG::'$(echo ${{ github.sha }} | cut -c1-8) | |
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 | |
with: | |
name: definitions-${{ steps.tag-generator.outputs.IMAGE_TAG }}-win | |
path: .depot/win | |
- name: π¦ Publish depot (mac) | |
uses: actions/upload-artifact@v3 | |
with: | |
name: definitions-${{ steps.tag-generator.outputs.IMAGE_TAG }}-mac | |
path: .depot/mac |