Skip to content

Commit

Permalink
fix release and fix set-output deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
markusdd committed Mar 15, 2024
1 parent 9d336d3 commit 791eaf8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ jobs:
with:
lfs: true
- id: get_repository_name
run: echo ::set-output name=REPOSITORY_NAME::$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $2}' | sed -e "s/:refs//")
run: echo "REPOSITORY_NAME=$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $2}' | sed -e "s/:refs//")" >> $GITHUB_OUTPUT
shell: bash
- uses: actions/download-artifact@master
with:
name: version
- id: get_version
run: 'echo ::set-output "name=VERSION::$(cat ./version/version)"'
run: echo "VERSION=$(cat ./version/version)" >> $GITHUB_OUTPUT
shell: bash
- uses: actions/cache@v1
with:
Expand Down Expand Up @@ -85,14 +85,14 @@ jobs:
with:
lfs: true
- id: get_repository_name
run: echo ::set-output name=REPOSITORY_NAME::$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $2}' | sed -e "s/:refs//")
run: echo "REPOSITORY_NAME=$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $2}' | sed -e "s/:refs//")" >> $GITHUB_OUTPUT
shell: bash
- uses: actions/download-artifact@master
with:
name: version
- run: ls -lah
- id: get_version
run: 'echo "VERSION=$(cat ./version/version)" >> $GITHUB_OUTPUT'
run: 'echo "VERSION=$(cat ./version)" >> $GITHUB_OUTPUT'
shell: bash
- uses: actions/download-artifact@master
with:
Expand Down

0 comments on commit 791eaf8

Please sign in to comment.