Skip to content

Commit

Permalink
Remove dependencies from publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hudson-newey committed Sep 29, 2024
1 parent 71c4677 commit ed9b199
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,14 @@ jobs:
with:
go-version: "1.22.2"

- name: Build Artifacts
run: make

- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d-%H%M%S')"

- name: Tag commit
uses: tvdias/[email protected]
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
tag: "${{ steps.date.outputs.date }}"
run: echo "::set-output name=date::$(date +'%Y-%m-%d-%H:%M:%S.%3NZ')"

- uses: ncipollo/release-action@v1
with:
artifacts: "build/2rm"
tag: "${{ steps.date.outputs.date }}"
- name: Publish to GitHub Releases
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload ${{ steps.date.outputs.date }} ./dist/2rm

0 comments on commit ed9b199

Please sign in to comment.