mirror of
https://github.com/vacp2p/stealth-address-kit.git
synced 2026-01-09 14:48:08 -05:00
Update CI (#23)
This commit is contained in:
committed by
GitHub
parent
9fffe1de17
commit
0606b4b29d
2
.github/workflows/docs.yml
vendored
2
.github/workflows/docs.yml
vendored
@@ -25,7 +25,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Pages
|
||||
uses: actions/configure-pages@v3
|
||||
|
||||
26
.github/workflows/nightly-release.yml
vendored
26
.github/workflows/nightly-release.yml
vendored
@@ -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/delete-tag-and-release@v0.2.1
|
||||
@@ -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 }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user