From 81589351da55711b67e9bcbb0bc3b0e643119d1f Mon Sep 17 00:00:00 2001 From: nerdCopter <56646290+nerdCopter@users.noreply.github.com> Date: Fri, 6 Sep 2024 14:57:23 -0500 Subject: [PATCH] [github] workflow updates (#1086) * [github] workflow updates --- .github/workflows/build.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 52eb57e554..8e0ccdb03e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,12 +33,12 @@ jobs: run: function curl () { command curl --connect-timeout 30 --retry 10 "$@" ; } - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: - fetch-depth: 0 + fetch-depth: 9 - name: Cache build toolchain - uses: actions/cache@v3 + uses: actions/cache@v4 id: cache-toolchain with: path: tools @@ -59,7 +59,9 @@ jobs: continue-on-error: true - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 + with: + python-version: '3.x' # EmuFlight version - name: Get code version @@ -101,10 +103,10 @@ jobs: - id: ids name : set outputs run: | - echo "::set-output name=buildtag::${{ env.REVISION_TAG }}" - echo "::set-output name=shortsha::${{ env.SHORT_SHA }}" - echo "::set-output name=artifact::${{ env.ARTIFACT_NAME }}" - echo "::set-output name=version::${{ env.VERSION }}" + echo "buildtag=${{ env.REVISION_TAG }}" >> $GITHUB_OUTPUT + echo "name=${{ env.SHORT_SHA }}" >> $GITHUB_OUTPUT + echo "shortsha=${{ env.SHORT_SHA }}" >> $GITHUB_OUTPUT + echo "version=${{ env.VERSION }}" >> $GITHUB_OUTPUT continue-on-error: true # for debugging