Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update upload-artifact action after deprecation #260

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
run: mv ./build/app/outputs/flutter-apk/app-debug.apk destiny_android_${{ env.DESTINY_VERSION }}.apk

- name: "Copy apk"
uses: "actions/upload-artifact@v2"
uses: "actions/upload-artifact@v4"
with:
name: "destiny-android-${{ env.DESTINY_VERSION }}-unsigned"
path: destiny_android_${{ env.DESTINY_VERSION }}.apk
Expand Down Expand Up @@ -150,14 +150,14 @@ jobs:
mv Destiny-x86_64.AppImage destiny_linux_${{ env.DESTINY_VERSION }}.AppImage

- name: "Upload zip"
uses: "actions/upload-artifact@v2"
uses: "actions/upload-artifact@v4"
with:
name: "destiny-linux-${{ env.DESTINY_VERSION }}-unsigned"
path: "destiny_linux_${{ env.DESTINY_VERSION }}.tar.gz"
if-no-files-found: "error"

- name: "Upload AppImage"
uses: "actions/upload-artifact@v2"
uses: "actions/upload-artifact@v4"
with:
name: "destiny-linux-${{ env.DESTINY_VERSION }}-appimage-unsigned"
path: "destiny_linux_${{ env.DESTINY_VERSION }}.AppImage"
Expand Down Expand Up @@ -224,7 +224,7 @@ jobs:
run: "create-dmg --app-drop-link 0 0 destiny_macos_debug_${{ env.DESTINY_VERSION }}.dmg build/macos/Build/Products/Debug/Destiny.app"

- name: "Copy DMG"
uses: "actions/upload-artifact@v2"
uses: "actions/upload-artifact@v4"
with:
name: "destiny-macos-${{ env.DESTINY_VERSION }}-unsigned"
path: "./destiny_macos_debug_${{ env.DESTINY_VERSION }}.dmg"
Expand Down Expand Up @@ -347,14 +347,14 @@ jobs:
echo y | flutter pub run msix:create --version $version --output-path . --build-windows false --output-name destiny_windows_${{ env.DESTINY_VERSION }}

- name: "Upload zip"
uses: "actions/upload-artifact@v2"
uses: "actions/upload-artifact@v4"
with:
name: "destiny-windows-${{ env.DESTINY_VERSION }}-unsigned"
path: "destiny_windows_${{ env.DESTINY_VERSION }}.zip"
if-no-files-found: "error"

- name: "Upload msix"
uses: "actions/upload-artifact@v2"
uses: "actions/upload-artifact@v4"
with:
name: "destiny-windows-${{ env.DESTINY_VERSION }}-unsigned-msix"
path: "destiny_windows_${{ env.DESTINY_VERSION }}.msix"
Expand Down
Loading