-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9fffe1d
commit 0606b4b
Showing
2 changed files
with
17 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
- name: Install stable toolchain | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
|
@@ -48,9 +48,9 @@ jobs: | |
tar -czvf ${{ matrix.target }}-${{matrix.curve}}.tar.gz release/ | ||
- name: Upload archive artifact | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ matrix.target }}-archive | ||
name: ${{ matrix.target }}-${{ matrix.curve }}-archive | ||
path: ./sdk/${{ matrix.target }}-${{matrix.curve}}.tar.gz | ||
retention-days: 2 | ||
|
||
|
@@ -75,7 +75,7 @@ jobs: | |
- aarch64-apple-darwin | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
- name: Install stable toolchain | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
|
@@ -95,23 +95,28 @@ jobs: | |
tar -czvf ${{ matrix.target }}-${{ matrix.curve }}.tar.gz release/ | ||
- name: Upload archive artifact | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ matrix.target }}-archive | ||
name: ${{ matrix.target }}-${{ matrix.curve }}-archive | ||
path: ./sdk/${{ matrix.target }}-${{ matrix.curve }}.tar.gz | ||
retention-days: 2 | ||
|
||
prepare-prerelease: | ||
name: Prepare pre-release | ||
needs: [linux, macos] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: master | ||
- name: Download artifacts | ||
uses: actions/download-artifact@v2 | ||
uses: actions/download-artifact@v4 | ||
with: | ||
pattern: | | ||
*-archive | ||
path: ./libs | ||
merge-multiple: true | ||
|
||
- name: Delete tag | ||
uses: dev-drprasad/[email protected] | ||
|
@@ -123,11 +128,12 @@ jobs: | |
|
||
- name: Create prerelease | ||
run: | | ||
ls -Rlah ./libs | ||
gh release create nightly --prerelease --target master \ | ||
--title 'Nightly build ("master" branch)' \ | ||
--generate-notes \ | ||
--draft=false \ | ||
*-archive/*.tar.gz \ | ||
./libs/*.tar.gz | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.PERSONAL_TOKEN }} | ||
|
||
|