diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index f1e1311..160a7a8 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -14,13 +14,13 @@ on: jobs: build: name: "Build" - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest outputs: COMMIT_SHA: ${{ steps.declare_sha.outputs.COMMIT_SHA }} SEMVER: ${{ steps.declare_sha.outputs.SEMVER }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4.1.1 with: fetch-depth: 0 @@ -78,7 +78,7 @@ jobs: run: sed -i "s|%VERSION%|$PLUGIN_VERSION|g" redm_version.inc - name: Setup AMXXPawn Compiler - uses: wopox1337/setup-amxxpawn@v1 + uses: wopox1337/setup-amxxpawn@v1.1.0 with: version: "1.10.5428" @@ -109,14 +109,14 @@ jobs: mv cstrike/ publish/ - name: Deploy artifact - uses: actions/upload-artifact@v3.1.2 + uses: actions/upload-artifact@v4.3.1 with: name: ReDeathmatch-${{ steps.declare_sha.outputs.COMMIT_SHA }}-dev path: publish/* publish: name: "Publish release" - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest needs: [build] if: | github.event_name == 'release' && @@ -124,7 +124,7 @@ jobs: startsWith(github.ref, 'refs/tags/') steps: - name: Download artifact - uses: actions/download-artifact@v3.0.2 + uses: actions/download-artifact@v4.1.4 with: name: ReDeathmatch-${{ needs.build.outputs.COMMIT_SHA }}-dev @@ -133,7 +133,7 @@ jobs: run: 7z a -mm=Deflate -mfb=258 -mpass=15 -r ReDeathmatch-${{ needs.build.outputs.SEMVER }}.zip cstrike/ - name: Publish artifacts - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2.0.4 id: publish-job if: | startsWith(github.ref, 'refs/tags/') &&