Skip to content

Commit

Permalink
Do not use deprecated GitHub commands in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkwouter committed Jun 22, 2023
1 parent 62c84ab commit 250b2ec
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/build.yml
Expand Up @@ -69,10 +69,6 @@ jobs:
matrix:
build: [linux, windows]
steps:
- name: Extract tag name
if: startsWith(github.ref, 'refs/tags/')
id: tag
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
- uses: actions/download-artifact@v2
- name: Zip artifacts
run: |
Expand All @@ -81,7 +77,7 @@ jobs:
uses: softprops/action-gh-release@v1
with:
files: laserkombat-${{matrix.build}}.zip
tag_name: ${{ steps.tag.outputs.VERSION }}
name: Laser Kombat Revised version ${{ steps.tag.outputs.VERSION }}
tag_name: ${{ github.ref_name }}
name: Laser Kombat Revised version ${{ github.ref_name }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 250b2ec

Please sign in to comment.