chore: Release rosenpass version 0.2.1-rc.3 #11
Workflow file for this run
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
name: Release | |
permissions: | |
contents: write | |
on: | |
push: | |
tags: | |
- v* | |
jobs: | |
i686-linux---release: | |
name: Build release artifacts for i686-linux | |
runs-on: | |
- ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: cachix/install-nix-action@v22 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- uses: cachix/cachix-action@v12 | |
with: | |
name: rosenpass | |
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} | |
- name: Build release | |
run: nix build .#release-package --print-build-logs | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
draft: ${{ contains(github.ref_name, 'rc') }} | |
prerelease: ${{ contains(github.ref_name, 'alpha') || contains(github.ref_name, 'beta') }} | |
files: result/* | |
x86_64-darwin---release: | |
name: Build release artifacts for x86_64-darwin | |
runs-on: | |
- macos-13 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: cachix/install-nix-action@v22 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- uses: cachix/cachix-action@v12 | |
with: | |
name: rosenpass | |
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} | |
- name: Build release | |
run: nix build .#release-package --print-build-logs | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
draft: ${{ contains(github.ref_name, 'rc') }} | |
prerelease: ${{ contains(github.ref_name, 'alpha') || contains(github.ref_name, 'beta') }} | |
files: result/* | |
x86_64-linux---release: | |
name: Build release artifacts for x86_64-linux | |
runs-on: | |
- ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: cachix/install-nix-action@v22 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- uses: cachix/cachix-action@v12 | |
with: | |
name: rosenpass | |
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} | |
- name: Build release | |
run: nix build .#release-package --print-build-logs | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
draft: ${{ contains(github.ref_name, 'rc') }} | |
prerelease: ${{ contains(github.ref_name, 'alpha') || contains(github.ref_name, 'beta') }} | |
files: result/* |