don't show the scratch when in the command line window #25
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: 'latest-release' | |
on: | |
push: | |
branches: | |
- 'main' | |
jobs: | |
release: | |
name: 'Release' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2.4.0 | |
- uses: cachix/install-nix-action@v20 | |
with: | |
extra_nix_config: | | |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} | |
extra-substituters = https://tek.cachix.org | |
extra-trusted-public-keys = tek.cachix.org-1:+sdc73WFq8aEKnrVv5j/kuhmnW2hQJuqdPJF5SnaCBk= | |
- uses: cachix/cachix-action@v12 | |
with: | |
name: tek | |
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' | |
- name: 'build' | |
run: | | |
nix bundle -o static-binary --bundler github:ralismark/nix-appimage .#static | |
mv static-binary uracil | |
- uses: 'marvinpinto/action-automatic-releases@latest' | |
name: 'create release' | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
automatic_release_tag: 'latest' | |
prerelease: true | |
files: | | |
uracil |