Skip to content

Commit

Permalink
ci: add publishing workflow (triggered by tags)
Browse files Browse the repository at this point in the history
  • Loading branch information
msiglreith committed Dec 4, 2023
1 parent c16591f commit 05601b9
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Publish

on:
push:
tags:
- '*'

jobs:
Publish:
if: github.repository_owner == 'gfx-rs'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Publish spirv
run: cargo publish --manifest-path spirv/Cargo.toml --token ${{ secrets.cratesio_token }}
- name: Publish rspirv
run: cargo publish --manifest-path rspirv/Cargo.toml --token ${{ secrets.cratesio_token }}

0 comments on commit 05601b9

Please sign in to comment.