Skip to content

Commit

Permalink
Update upload-artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
alexballas committed Sep 14, 2024
1 parent ee1b6c8 commit 0fdaddc
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ jobs:

- name: Install fyne
run: go install fyne.io/fyne/v2/cmd/fyne@latest

- name: Download Android SDK
run: wget https://dl.google.com/android/repository/android-ndk-r23b-linux.zip && unzip android-ndk-r23b-linux.zip

- name: Package (Android)
run: APATH=$(readlink -e android-ndk-r23b) && cd cmd/go2tv && GO386='softfloat' ANDROID_NDK_HOME=$APATH fyne package -os android -name Go2TV -appID com.alexballas.go2tv -icon ../../assets/go2tv-icon-android.png && mv Go2TV.apk ../../
- uses: actions/upload-artifact@v2

- uses: actions/upload-artifact@v4
with:
name: go2tv_${{ env.GO2TV_VERSION }}_android
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
cd /go2tv_dir
/go/bin/go build -ldflags "-s -w" -o go2tv cmd/go2tv/go2tv.go
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: go2tv_${{ env.GO2TV_VERSION }}_linux_arm
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
cd /go2tv_dir
/go/bin/go build -ldflags "-s -w" -o go2tv cmd/go2tv/go2tv.go
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: go2tv_${{ env.GO2TV_VERSION }}_linux_arm64
path: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:

- name: Package (Linux)
run: GOOS=linux GOARCH=amd64 go build -ldflags "-s -w" -o go2tv cmd/go2tv/go2tv.go
- uses: actions/upload-artifact@v2

- uses: actions/upload-artifact@v4
with:
name: go2tv_${{ env.GO2TV_VERSION }}_linux_amd64
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-mac-intel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Package (macOS)
run: cd cmd/go2tv && fyne package --release -os darwin -icon ../../assets/go2tv-icon-desktop.png && mv go2tv.app ../../

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: go2tv_${{ env.GO2TV_VERSION }}_macOS_amd64
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Package (macOS)
run: cd cmd/go2tv && GOARCH=arm64 fyne package --release -os darwin -icon ../../assets/go2tv-icon-desktop.png && mv go2tv.app ../../

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: go2tv_${{ env.GO2TV_VERSION }}_macOS_arm64
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Package (Windows)
run: cd cmd/go2tv && CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ fyne package --release --appID app.go2tv -os windows -icon ../../assets/go2tv-icon-desktop.png && mv go2tv.exe ../../

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: go2tv_${{ env.GO2TV_VERSION }}_windows_amd64
path: |
Expand Down

0 comments on commit 0fdaddc

Please sign in to comment.