more robust way to pass the password and readme update #9
This file contains hidden or 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
| on: | |
| push: {} | |
| pull_request: {} | |
| name: Release | |
| jobs: | |
| build: | |
| runs-on: namespace-profile-ghostty-sm | |
| env: | |
| ZIG_LOCAL_CACHE_DIR: /zig/local-cache | |
| ZIG_GLOBAL_CACHE_DIR: /zig/global-cache | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0 | |
| - name: Setup Cache | |
| uses: namespacelabs/nscloud-cache-action@a289cf5d2fcd6874376aa92f0ef7f99dc923592a # v1.2.17 | |
| with: | |
| path: | | |
| /nix | |
| /zig | |
| - name: Install Nix | |
| uses: cachix/install-nix-action@7be5dee1421f63d07e71ce6e0a9f8a4b07c2a487 # v31.6.1 | |
| with: | |
| nix_path: nixpkgs=channel:nixos-unstable | |
| - name: Create Release | |
| env: | |
| GITHUB_TOKEN: ${{ github.token }} | |
| MINISIGN_KEY: ${{ secrets.MINISIGN_KEY }} | |
| MINISIGN_PASSWORD: ${{ secrets.MINISIGN_PASSWORD }} | |
| run: nix run .#release |