Skip to content

Commit

Permalink
chore: create release tags in a workflow_dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
sdnts committed Mar 10, 2024
1 parent 76eb0f6 commit 722d099
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
name: Release
on:
push:
branches:
- main
workflow_dispatch:
inputs:
version:
required: true
type: string
jobs:
tag:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: git tag ${{ inputs.version }}
- run: git push origin ${{ inputs.version }}


macos-aarch64:
needs: tag
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -15,6 +27,7 @@ jobs:
path: ./zig-out/bin/zup

macos-x86_64:
needs: tag
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -26,6 +39,7 @@ jobs:
path: ./zig-out/bin/zup

linux-aarch64:
needs: tag
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -37,6 +51,7 @@ jobs:
path: ./zig-out/bin/zup

linux-x86_64:
needs: tag
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 722d099

Please sign in to comment.