Skip to content

Merge pull request #3 from Amanse/ulwgl #55

Merge pull request #3 from Amanse/ulwgl

Merge pull request #3 from Amanse/ulwgl #55

Workflow file for this run

name: Rust
on:
workflow_dispatch:
push:
branches: ["master"]
pull_request:
branches: ["master"]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose --release
- uses: cachix/install-nix-action@v20
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v12
with:
name: game-rs
# If you chose API tokens for write access OR if you have a private cache
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- run: nix build
- uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "auto"
draft: true
title: "Release ${{ env.date_now }}"
files: |
target/release/game-rs