Skip to content

Commit

Permalink
push tag after generated deps.tar.gz
Browse files Browse the repository at this point in the history
Signed-off-by: jinqiang zhang <peeweep@0x0.ee>
  • Loading branch information
peeweep committed Feb 16, 2023
1 parent 92350df commit e218430
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,6 @@ jobs:
git tag --delete ${P} || echo yes
git tag ${P} -m "${P}-deps.tar.xz"
- name: push tag
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
force: true
tags: true

- name: Generate deps.tar.xz
env:
P: ${{ inputs.P }}
Expand All @@ -61,6 +54,13 @@ jobs:
GOMODCACHE="${PWD}"/go-mod go mod download -modcacherw
tar --create --auto-compress --file /tmp/${P}-deps.tar.xz go-mod
- name: push tag
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
force: true
tags: true

- name: Release
uses: softprops/action-gh-release@v1
with:
Expand Down

0 comments on commit e218430

Please sign in to comment.