Skip to content

Commit

Permalink
Update actions in ci and release workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
jyaganeh committed Dec 9, 2024
1 parent 90427f0 commit 67ccbaf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ jobs:
ci:
runs-on: macOS-13
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v24

- name: Set up JDK 11
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '11'

- name: Set up .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
global-json-file: global.json

Expand Down Expand Up @@ -73,7 +73,10 @@ jobs:
- name: Build
run: ./gradlew build pack buildSample

- uses: actions/upload-artifact@v2
- name: Upload build dir artifact
uses: actions/upload-artifact@v4
with:
name: build
path: build
retention-days: 7 # For debugging, so we don't need to keep them for very long
compression-level: 0 # Nupkgs are just .zip files, so no need to compress them
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
contents: write
runs-on: macOS-13
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Get Version
id: get_version
Expand Down Expand Up @@ -56,13 +56,13 @@ jobs:
# uses: google-github-actions/setup-gcloud@v1

- name: Set up JDK 11
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '11'

- name: Set up .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
global-json-file: global.json

Expand All @@ -83,7 +83,7 @@ jobs:

- name: Create Github Release
id: create_release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ steps.get_version.outputs.VERSION }}
release_name: ${{ steps.get_version.outputs.VERSION }}
Expand Down

0 comments on commit 67ccbaf

Please sign in to comment.