Skip to content

Commit

Permalink
Fix release
Browse files Browse the repository at this point in the history
  • Loading branch information
Syer10 committed Feb 23, 2024
1 parent 7b4fb46 commit 4eb9a69
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,14 @@ jobs:
arguments: :server:downloadWebUI :server:shadowJar --stacktrace

- name: Upload Jar
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: jar
path: master/server/build/*.jar
if-no-files-found: error

- name: Upload icons
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: icon
path: master/server/src/main/resources/icon
Expand All @@ -72,7 +72,7 @@ jobs:
run: tar -cvzf scripts.tar.gz -C master/ scripts/

- name: Upload scripts.tar.gz
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: scripts
path: scripts.tar.gz
Expand All @@ -96,13 +96,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download Jar
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: jar
path: server/build

- name: Download icons
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: icon
path: server/src/main/resources/icon
Expand All @@ -119,7 +119,7 @@ jobs:
scripts/bundler.sh -o upload/ ${{ matrix.os }}
- name: Upload ${{ matrix.os }} files
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}
path: upload/*
Expand All @@ -130,35 +130,35 @@ jobs:
needs: bundle
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: jar
path: release
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: debian-all
path: release
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: linux-assets
path: release
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: linux-x64
path: release
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: macOS-x64
path: release
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: macOS-arm64
path: release
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: windows-x64
path: release
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: windows-x86
path: release
Expand All @@ -169,6 +169,6 @@ jobs:
- name: Release
uses: softprops/action-gh-release@v1
with:
token: ${{ secrets.WINGET_PUBLISH_PAT }}
token: ${{ secrets.DEPLOY_RELEASE_TOKEN }}
draft: true
files: release/*

0 comments on commit 4eb9a69

Please sign in to comment.