all repos — min @ 44b7a7f8f3c993efdb4ca73b50824e2d97982f37

A small but practical concatenative programming language.

added Upload job: download all previously uploaded artifacts, create a release and pack all the artifacts as assets
drkameleon yaniszaf@gmail.com
Wed, 20 Jan 2021 19:27:53 +0100
commit

44b7a7f8f3c993efdb4ca73b50824e2d97982f37

parent

04d60f816171bc25188f1842fe0c3f787c917aba

1 files changed, 40 insertions(+), 0 deletions(-)

jump to
M .github/workflows/release.yml.github/workflows/release.yml

@@ -75,3 +75,43 @@ uses: 'actions/upload-artifact@v1'

with: name: min-${{runner.os}}.tar.gz path: min-${{runner.os}}.tar.gz + + upload: + name: "Upload" + runs-on: ubuntu-latest + if: ${{ always() }} + needs: [package] + steps: + - name: "Cancel similar actions in progress" + uses: styfle/cancel-workflow-action@0.6.0 + with: + access_token: ${{ github.token }} + + - uses: actions/download-artifact@v2 + with: + path: ./assets + + - name: Display structure of downloaded files + run: ls -R + + - name: Create Release + id: create-release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: ${{ github.ref }} + release_name: ${{ github.ref }} + body: | + ${{ github.ref }} + draft: false + prerelease: false + + - name: Upload Release Assets + id: upload-release-assets + uses: dwenegar/upload-release-assets@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + release_id: ${{ steps.create-release.outputs.id }} + assets_path: ./assets