Skip to content

Commit

Permalink
update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
tudddorrr committed May 4, 2024
1 parent 93d3eea commit 8b4198a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
lfs: true

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: Library
key: Library-${{ hashFiles('Assets/**', 'Packages/**') }}
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
COMMIT_MESSAGE: "Release https://github.com/TaloDev/unity/releases/tag/${{ github.ref_name }}"

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20

- name: Copy files
run: |
Expand Down Expand Up @@ -63,14 +63,13 @@ jobs:
uses: manleydev/butler-publish-itchio-action@master
env:
BUTLER_CREDENTIALS: ${{ secrets.BUTLER_CREDENTIALS }}
CHANNEL: unity-package
ITCH_GAME: talo
ITCH_GAME: talo-unity
ITCH_USER: sleepystudios
PACKAGE: Release/${{ steps.find-package.outputs.filepath }}
VERSION: ${{ github.ref_name }}

- name: Create release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
if: "!contains(github.event.head_commit.message, '--no-release')"
with:
generate_release_notes: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
tag:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Check version change
id: check
Expand All @@ -25,7 +25,7 @@ jobs:

- name: Trigger workflow
if: steps.check.outputs.changed == 'true'
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
github.rest.actions.createWorkflowDispatch({
Expand Down

0 comments on commit 8b4198a

Please sign in to comment.