Added github workflow test (#1)

* Delete main.yml

* Delete release.yml

* Delete release-cross.yml

* Added github workflows

* Changed workflow values
This commit is contained in:
Thomas Schönauer
2022-10-16 17:27:16 +00:00
committed by GitHub
parent 57f38a0b29
commit 2e9e5c5c34
6 changed files with 138 additions and 181 deletions

View File

@@ -0,0 +1,27 @@
on:
push:
branches:
- main
name: Release Packaging
jobs:
release:
name: Release Packaging
env:
PROJECT_NAME_UNDERSCORE: topgrade_rs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Release Build
run: cargo build --release
- name: 'Upload Artifact'
uses: actions/upload-artifact@v2
with:
name: ${{ env.PROJECT_NAME_UNDERSCORE }}
path: target/release/${{ env.PROJECT_NAME_UNDERSCORE }}