Skip to content

Commit

Permalink
release action
Browse files Browse the repository at this point in the history
  • Loading branch information
mirrorcult committed Sep 28, 2023
1 parent 9e89ddd commit 973e0d0
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 139 deletions.
73 changes: 0 additions & 73 deletions .github/workflows/deploy.yml

This file was deleted.

66 changes: 0 additions & 66 deletions .github/workflows/main.yml

This file was deleted.

29 changes: 29 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Release

permissions:
contents: write

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

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

upload-assets:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: taiki-e/upload-rust-binary-action@v1
with:
bin: mdbook-spacewizards
# (required) GitHub token for uploading assets to GitHub Releases.
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 973e0d0

Please sign in to comment.