Skip to content

Commit

Permalink
Update github actions to avoid deprecations.
Browse files Browse the repository at this point in the history
  • Loading branch information
OmniBlade committed Jun 20, 2024
1 parent 5c42ac9 commit 9c2bb52
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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[email protected]"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
Expand Down Expand Up @@ -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"
Expand All @@ -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/*
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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"
Expand All @@ -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/*
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mingw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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/*
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ 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
with:
arch: x86

Expand Down Expand Up @@ -54,7 +54,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"
Expand All @@ -66,7 +66,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/*
Expand All @@ -86,7 +86,7 @@ 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
with:
arch: ${{ matrix.platform }}

Expand Down Expand Up @@ -152,7 +152,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"
Expand All @@ -164,7 +164,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/*
Expand Down

0 comments on commit 9c2bb52

Please sign in to comment.