From 6f0789a4f95ca810cf805c50184a461c461a9d62 Mon Sep 17 00:00:00 2001 From: hudson-newey Date: Sun, 29 Sep 2024 23:09:14 +1000 Subject: [PATCH] Remove dependencies from publish workflow --- .github/workflows/publish.yml | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 95a1cff..ed30e16 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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/github-tagger@v0.0.1 - 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 }} ./build/2rm