Skip to content

Commit

Permalink
fix: github action
Browse files Browse the repository at this point in the history
  • Loading branch information
anhoder committed Sep 9, 2023
1 parent 60bf45d commit b7989a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,15 @@ jobs:
# env:
# RELEASE_TAG: ${{ steps.branch_name.outputs.RELEASE_TAG }}

- if: startsWith(github.ref,'refs/tags/v') && github.repository == 'go-musicfox/go-musicfox'
- if: startsWith(github.ref,'refs/tags/v') && github.repository == 'go-musicfox/spotifox'
name: release publish
run: |-
sudo rm -rf dist
make release
env:
RELEASE_TAG: ${{ steps.branch_name.outputs.RELEASE_TAG }}

- if: startsWith(github.ref,'refs/tags/v') && github.repository == 'go-musicfox/go-musicfox'
- if: startsWith(github.ref,'refs/tags/v') && github.repository == 'go-musicfox/spotifox'
name: Generate scoop config and commit
run: |-
make scoop-config-gen
Expand All @@ -75,7 +75,7 @@ jobs:
git add .
git commit -m "feat: update scoop config" || true
- if: startsWith(github.ref,'refs/tags/v') && github.repository == 'go-musicfox/go-musicfox'
- if: startsWith(github.ref,'refs/tags/v') && github.repository == 'go-musicfox/spotifox'
name: Push scoop config
uses: ad-m/github-push-action@master
with:
Expand Down

0 comments on commit b7989a8

Please sign in to comment.