Skip to content

Commit

Permalink
Create release.yml
Browse files Browse the repository at this point in the history
builds linux target and adds binary to release
  • Loading branch information
hexerei authored Apr 26, 2024
1 parent 9e8a3db commit e953176
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Release on Tag

permissions:
contents: write

on:
push:
tags:
- v[0-9]+.*

jobs:
create-release:
name: Create Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: taiki-e/create-gh-release-action@v1
with:
#changelog: CHANGELOG.md
token: ${{ secrets.GITHUB_TOKEN }}

upload-assets:
needs: create-release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: taiki-e/upload-rust-binary-action@v1
with:
bin: modelcards
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit e953176

Please sign in to comment.