Bump GHA versions

pull/1501/head
Goooler 2023-01-26 18:20:02 +08:00
rodzic a03fb501d3
commit f7a8ac72f2
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -14,12 +14,12 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: tonsky/firacode:latest container: tonsky/firacode:latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- if: startsWith(github.ref, 'refs/tags/') - if: startsWith(github.ref, 'refs/tags/')
run: python3 ./script/update_version.py run: python3 ./script/update_version.py
- run: ./script/build.sh - run: ./script/build.sh
- run: echo "hash=$(git rev-parse --short $GITHUB_SHA)" >> $GITHUB_ENV - run: echo "hash=$(git rev-parse --short $GITHUB_SHA)" >> $GITHUB_ENV
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v3
with: with:
name: Fira_Code_${{ env.hash }} name: Fira_Code_${{ env.hash }}
path: distr path: distr