diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index efa2369a..5ee83df6 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -10,7 +10,7 @@ jobs: steps: - name: Create Development release if: ${{ github.event_name != 'pull_request' && github.ref == 'refs/heads/vanilla' }} - uses: "marvinpinto/action-automatic-releases@latest" + uses: "0xDylan/action-auto-releases-n20@v1.1" with: repo_token: "${{ secrets.GITHUB_TOKEN }}" automatic_release_tag: "latest" @@ -100,7 +100,7 @@ jobs: - name: Upload development release if: ${{ github.event_name != 'pull_request' && github.ref == 'refs/heads/vanilla' && matrix.networking == 'net' }} - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: name: Development Build tag_name: "latest" @@ -112,7 +112,7 @@ jobs: - name: Upload tagged release if: ${{ startsWith(github.ref, 'refs/tags/') && matrix.networking == 'net' }} - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: files: | artifact/* diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index f1e706c4..e2b7cd1f 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -30,7 +30,7 @@ jobs: - name: Restore cache id: dep-cache - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: cache-dependencies with: @@ -95,7 +95,7 @@ jobs: - name: Upload development release if: ${{ github.event_name != 'pull_request' && github.ref == 'refs/heads/vanilla' && matrix.networking == 'net' }} - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: name: Development Build tag_name: "latest" @@ -107,7 +107,7 @@ jobs: - name: Upload tagged release if: ${{ startsWith(github.ref, 'refs/tags/') && matrix.networking == 'net' }} - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: files: | artifact/* diff --git a/.github/workflows/mingw.yml b/.github/workflows/mingw.yml index e91433f5..bc92d6dd 100644 --- a/.github/workflows/mingw.yml +++ b/.github/workflows/mingw.yml @@ -126,7 +126,7 @@ jobs: - name: Upload development release if: ${{ github.event_name != 'pull_request' && github.ref == 'refs/heads/vanilla' && matrix.networking == 'net' }} - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: name: Development Build tag_name: "latest" @@ -138,7 +138,7 @@ jobs: - name: Upload tagged release if: ${{ startsWith(github.ref, 'refs/tags/') && matrix.networking == 'net' }} - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: files: | artifact/* diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index fa676ac7..b6cc3c11 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -14,13 +14,16 @@ jobs: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} - - uses: ilammy/msvc-dev-cmd@v1.12.1 + - uses: ilammy/msvc-dev-cmd@v1.13.0 with: arch: x86 - name: Set Git Info id: gitinfo - run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT + shell: pwsh + run: | + $gitoutput = git rev-parse --short HEAD + echo "sha_short=${gitoutput}" >> $env:GITHUB_OUTPUT - name: Install Dependencies run: | @@ -54,7 +57,7 @@ jobs: - name: Upload development release if: ${{ github.event_name != 'pull_request' && github.ref == 'refs/heads/vanilla' }} - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: name: Development Build tag_name: "latest" @@ -66,7 +69,7 @@ jobs: - name: Upload tagged release if: ${{ startsWith(github.ref, 'refs/tags/') }} - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: files: | artifact/* @@ -86,13 +89,16 @@ jobs: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} - - uses: ilammy/msvc-dev-cmd@v1.12.1 + - uses: ilammy/msvc-dev-cmd@v1.13.0 with: arch: ${{ matrix.platform }} - name: Set Git Info id: gitinfo - run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT + shell: pwsh + run: | + $gitoutput = git rev-parse --short HEAD + echo "sha_short=${gitoutput}" >> $env:GITHUB_OUTPUT - name: Set variables id: vars @@ -152,7 +158,7 @@ jobs: - name: Upload development release if: ${{ github.event_name != 'pull_request' && github.ref == 'refs/heads/vanilla' && matrix.networking == 'net' }} - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: name: Development Build tag_name: "latest" @@ -164,7 +170,7 @@ jobs: - name: Upload tagged release if: ${{ startsWith(github.ref, 'refs/tags/') && matrix.networking == 'net' }} - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: files: | artifact/*