mirror of
https://github.com/rosenpass/rosenpass.git
synced 2026-01-10 04:08:11 -08:00
Automatic Release
This commit is contained in:
12
.github/workflows/nix.yaml
vendored
12
.github/workflows/nix.yaml
vendored
@@ -57,6 +57,18 @@ jobs:
|
||||
with:
|
||||
name: ${{ matrix.derivation }}@${{ matrix.nix-system }}
|
||||
path: ${{ matrix.derivation }}
|
||||
- name: Prepare Release
|
||||
if: startsWith(github.ref, 'refs/tags/') && contains(matrix.derivation, 'static')
|
||||
run: cp $(readlink --canonicalize -- result)/${{ matrix.derivation }} ./${{ matrix.derivation }}-${{ matrix.nix-system }}
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
if: startsWith(github.ref, 'refs/tags/') && contains(matrix.derivation, 'static')
|
||||
with:
|
||||
files: |
|
||||
${{ matrix.derivation }}-${{ matrix.nix-system }}
|
||||
rp
|
||||
LICENSE-MIT
|
||||
LICENSE-APACHE
|
||||
- name: Deploy PDF artifacts
|
||||
if: ${{ matrix.derivation == 'whitepaper' && github.ref == 'refs/heads/main' }}
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
|
||||
Reference in New Issue
Block a user