diff --git a/packages/app/lib/Ribosome/App/Templates/GithubActions.hs b/packages/app/lib/Ribosome/App/Templates/GithubActions.hs index 59fc20a..5555147 100644 --- a/packages/app/lib/Ribosome/App/Templates/GithubActions.hs +++ b/packages/app/lib/Ribosome/App/Templates/GithubActions.hs @@ -53,8 +53,7 @@ jobs: access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}#{cachixConf (fromMaybe cachixTek cachix)}#{foldMap (cachixStep . (.cachixName)) cachix} - name: 'build' run: | - nix bundle -o static-binary --bundler github:ralismark/nix-appimage .#static - mv static-binary #{name} + mv $(nix run .#appimage) #{name} - uses: 'marvinpinto/action-automatic-releases@latest' name: 'create release' with: diff --git a/packages/app/test/fixtures/new-project/action.yml b/packages/app/test/fixtures/new-project/action.yml index 840f2aa..928f2e7 100644 --- a/packages/app/test/fixtures/new-project/action.yml +++ b/packages/app/test/fixtures/new-project/action.yml @@ -24,8 +24,7 @@ jobs: signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' - name: 'build' run: | - nix bundle -o static-binary --bundler github:ralismark/nix-appimage .#static - mv static-binary test-project + mv $(nix run .#appimage) test-project - uses: 'marvinpinto/action-automatic-releases@latest' name: 'create release' with: