From b8404151a0324c92e59aa2e0d3ea35635158ec65 Mon Sep 17 00:00:00 2001 From: Hayden Young Date: Sun, 9 May 2021 00:49:38 +0100 Subject: [PATCH] chore: ci updates --- .github/workflows/main.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b82cfb9..30f4088 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,6 +4,7 @@ on: push: tags: - '*' + workflow_dispatch: {} jobs: package: @@ -25,15 +26,14 @@ jobs: cp -r . ../rocky-logos-${{ steps.tag.outputs.result }} && mv ../rocky-logos-${{ steps.tag.outputs.result }} . && tar cfJ rocky-logos-${{ steps.tag.outputs.result }}.tar.xz rocky-logos-${{ steps.tag.outputs.result }} + - name: Publish source artifact + uses: actions/upload-artifact@v2 + with: + name: rocky-logos.tar.xz + path: rocky-logos-*.tar.xz - name: Generate release - uses: docker://antonyurchenko/git-release:latest + uses: softprops/action-gh-release@v1 + with: + files: rocky-logos-*.tar.xz env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - DRAFT_RELEASE: "false" - PRE_RELEASE: "false" - CHANGELOG_FILE: "none" - ALLOW_EMPTY_CHANGELOG: "false" - ALLOW_TAG_PREFIX: "true" - with: - args: | - rocky-logos-${{ steps.tag.outputs.result }}.tar.xz