Skip to content

Commit

Permalink
update gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
B0ney committed May 14, 2023
1 parent c45e434 commit 12554c8
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
name: Publish

on:
# release:
release:
# workflow_dispatch:
# workflow_call:
push:
# branches:
# - main
tags:
- "*"
- 'v*'

permissions:
contents: read

jobs:
build-gui:
Expand All @@ -17,7 +20,9 @@ jobs:
uses: ./.github/workflows/build_cli_artifacts.yml

release:
name: Release
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
needs: [ build-gui, build-cli]
steps:
- uses: actions/checkout@v3
Expand All @@ -26,7 +31,6 @@ jobs:
with:
path: bin
- name: Create pre-release
# if: startsWith(github.ref, 'refs/tags/') # TODO
uses: softprops/action-gh-release@v1
with:
files: bin/*/xmodits-*
Expand Down

0 comments on commit 12554c8

Please sign in to comment.