Skip to content

Commit

Permalink
update to Node 20 & actions/upload-artifact v4
Browse files Browse the repository at this point in the history
  • Loading branch information
ABCPascal committed Apr 25, 2024
1 parent 5f84f81 commit f0b15e1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

steps:
- name: Set up Java
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: '17'
Expand All @@ -22,12 +22,12 @@ jobs:
run: echo "JAVA_HOME=$(echo ${{ steps.setup-java.outputs.java-home }})" >> $GITHUB_ENV

- name: Set up Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20

- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install dependencies
run: |
Expand Down Expand Up @@ -59,10 +59,11 @@ jobs:
java -jar lspatch.jar -m "$GITHUB_WORKSPACE/core.apk" -f -l 2 -v snap.apk
- name: Upload artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: snap-402-lspatched.apk
path: ./snap-402-lspatched.apk
overwrite: true

- name: Check if the release already exists
id: check_release
Expand All @@ -77,7 +78,7 @@ jobs:
- name: Create or Update Release
id: create_release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: snap-402-lspatched.apk
tag_name: ${{ env.RELEASE_VERSION }}-Beta # Append "-Beta" to the tag name
2 changes: 1 addition & 1 deletion push-here.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# A File to do dirty stuff - push in this file to trigger action
# Stable Information: Newest Snap Stable version & SnapEnhance Stable v1.2.6

Add a dot here:
Add a dot here:.

0 comments on commit f0b15e1

Please sign in to comment.