diff --git a/.github/actions/build/action.yml b/.github/actions/build/action.yml index 78a7f1a..5aa2a0a 100644 --- a/.github/actions/build/action.yml +++ b/.github/actions/build/action.yml @@ -31,8 +31,8 @@ runs: shell : bash run: | VERS=${{ inputs.tag }} - echo "::set-output name=version::${VERS:1}" - echo "::set-output name=filename::${{ inputs.prefix }}SMO_Online${{ (inputs.tag != '' && format('_{0}', inputs.tag)) || '' }}_for_${{ inputs.emu }}" + echo "version=${VERS:1}" >>$GITHUB_OUTPUT + echo "filename=${{ inputs.prefix }}SMO_Online${{ (inputs.tag != '' && format('_{0}', inputs.tag)) || '' }}_for_${{ inputs.emu }}" >>$GITHUB_OUTPUT - name : Set up Docker Buildx uses : docker/setup-buildx-action@v2 diff --git a/.github/workflows/dev-release.yml b/.github/workflows/dev-release.yml index d8aea1a..92bb0aa 100644 --- a/.github/workflows/dev-release.yml +++ b/.github/workflows/dev-release.yml @@ -35,7 +35,7 @@ jobs: id : env shell : bash run: | - echo "::set-output name=prefix::$(date +'%Y%m%d_%H%M%S_' --utc)" + echo "prefix=$(date +'%Y%m%d_%H%M%S_' --utc)" >>$GITHUB_OUTPUT - name : Build artifacts id : build @@ -48,7 +48,7 @@ jobs: id : set-output shell : bash run : | - echo "::set-output name=filename-${{ matrix.emu }}::${{ steps.build.outputs.filename }}" + echo "filename-${{ matrix.emu }}=${{ steps.build.outputs.filename }}" >>$GITHUB_OUTPUT attach: needs: build @@ -63,7 +63,7 @@ jobs: shell : bash run: | url=`curl -sS --fail ${{ github.api_url }}/repos/${{ github.repository }}/releases/tags/${{ env.TAG }} | jq .upload_url -r` - echo "::set-output name=upload_url::$url" + echo "upload_url=$url" >>$GITHUB_OUTPUT - name : Attach build artifacts to release (Switch) uses : ./.github/actions/attach