Skip to content

Commit

Permalink
Create upload-crates-io.yml
Browse files Browse the repository at this point in the history
first dryrun
  • Loading branch information
johannes-mueller authored Dec 23, 2020
1 parent 54b7b7b commit 2ba35ce
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/upload-crates-io.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Rust

on:
release:
types: [published]

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Install additional dependencies
run: sudo apt install libgl-dev libglu1-mesa-dev libxrandr-dev libxcursor-dev xvfb
- name: Fetch submodules
run: git submodule update --init --recursive
- name: Build
run: cargo build --release
- name: Upload to crates.io
run: cargo publish --dry-run

0 comments on commit 2ba35ce

Please sign in to comment.