diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index cda4453a..29e76c9b 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Package install run: | @@ -36,13 +36,13 @@ jobs: ( today=`date -u +%F | tr '\n' '-'` s_sha=`echo -n ${GITHUB_SHA} | cut -c1-8` - printf '::set-output name=fname::snapshot-%s%s\n' $today $s_sha + printf "fname=snapshot-%s%s\n" $today $s_sha >> $GITHUB_OUTPUT ) - name: upload if: github.repository == 'FDOS/freecom' && (github.event_name == 'push' || github.event.pull_request.merged == true) - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: ${{ steps.snapshotname.outputs.fname }} path: _output