Skip to content

Commit

Permalink
update ci upload action
Browse files Browse the repository at this point in the history
  • Loading branch information
smk762 committed Oct 25, 2024
1 parent 1f8e41d commit 99c7775
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 15 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/atomicdex-desktop-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ jobs:
zip AtomicDEX-Pro-Installer.zip ./installer/AtomicDEX-Pro-Installer
- name: Upload artifacts (Linux)
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: AtomicDEX-Pro-Installer-linux-release
path: ./ci_tools_atomic_dex/AtomicDEX-Pro-Installer.zip
Expand Down Expand Up @@ -232,7 +232,7 @@ jobs:
zip AtomicDEX-Pro-Installer.zip ./installer/AtomicDEX-Pro-Installer
- name: Upload artifacts (Linux/Debug)
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: AtomicDEX-Pro-Installer-linux-debug
path: ./ci_tools_atomic_dex/AtomicDEX-Pro-Installer.zip
Expand Down Expand Up @@ -296,7 +296,7 @@ jobs:
ls bundle-Release/atomicDEX-Pro.dmg
- name: Upload artifacts (MacOS/Release)
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: dexpro-mac-release.dmg
path: ./ci_tools_atomic_dex/bundle-Release/atomicDEX-Pro.dmg
Expand Down Expand Up @@ -360,7 +360,7 @@ jobs:
ls bundle-Debug/atomicDEX-Pro.dmg
- name: Upload artifacts (MacOS/Debug)
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: dexpro-mac-debug.dmg
path: ./ci_tools_atomic_dex/bundle-Debug/atomicDEX-Pro.dmg
Expand Down Expand Up @@ -438,7 +438,7 @@ jobs:
ls bundle-Release/bundle.zip
- name: Upload artifacts (Win/Release)
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: dexpro-win-release
path: ./ci_tools_atomic_dex/bundle-Release/bundle.zip
Expand Down Expand Up @@ -516,7 +516,7 @@ jobs:
ls bundle-Debug/bundle.zip
- name: Upload artifacts (Windows/Debug)
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: dexpro-win-debug
path: ./ci_tools_atomic_dex/bundle-Debug/bundle.zip
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/atomicdex-desktop-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -288,23 +288,23 @@ jobs:
- name: Upload bundle artifact (Linux ZSTD)
if: runner.os == 'Linux'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.artifact_name_zstd }}
path: ./bundled/linux/${{ env.target_name_zstd }}
retention-days: 7

- name: Upload bundle artifact (Linux ZIP)
if: runner.os == 'Linux'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.artifact_name_zip }}
path: ./bundled/linux/${{ env.target_name_zip }}
retention-days: 7

- name: Upload bundle artifact (Linux AppImage)
if: runner.os == 'Linux'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.artifact_name_appimage }}
path: ./bundled/linux/${{ env.target_name_appimage }}
Expand All @@ -318,15 +318,15 @@ jobs:
- name: Upload artifacts (MacOS dmg)
if: runner.os == 'macOS'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.artifact_name_dmg }}
path: ./bundled/osx/${{ env.DEX_PROJECT_NAME }}.dmg
retention-days: 7

- name: Upload artifacts (MacOS installer)
if: runner.os == 'macOS'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.artifact_name_installer }}
path: ./bundled/osx/${{ env.DEX_PROJECT_NAME }}_installer.7z
Expand All @@ -341,15 +341,15 @@ jobs:
- name: Upload artifacts (Windows zip)
if: runner.os == 'Windows'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.artifact_name_zip }}
path: ./bundled/windows/${{ env.DEX_PROJECT_NAME }}.zip
retention-days: 7

- name: Upload artifacts (Windows installer)
if: runner.os == 'Windows'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.artifact_name_installer }}
path: ./bundled/windows/${{ env.DEX_PROJECT_NAME }}_installer.exe
Expand Down
2 changes: 0 additions & 2 deletions ci_tools_atomic_dex/ci_scripts/osx_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,8 @@ brew install autoconf \
gnu-getopt

brew unlink [email protected]
brew unlink [email protected]
brew install llvm
brew link --overwrite [email protected]
brew link --overwrite [email protected]

pip3 install yq
export CC=clang
Expand Down

0 comments on commit 99c7775

Please sign in to comment.