-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove dependencies from publish workflow
- Loading branch information
1 parent
71c4677
commit ed9b199
Showing
1 changed file
with
8 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |