pretty up the workflows

This commit is contained in:
Aaron Reisman 2024-11-14 11:15:57 -06:00
parent 97b792868f
commit cd7040cdc7
6 changed files with 36 additions and 37 deletions

View file

@ -5,7 +5,7 @@ name: release
on:
push:
tags:
- 'v*'
- "v*"
jobs:
prerelease:
runs-on: ubuntu-latest
@ -15,7 +15,7 @@ jobs:
- name: Get tag version
id: get_version
run: |
export TAG='${{ github.ref_name }}'
export TAG="${{ github.ref_name }}"
echo "version=${TAG#v}" >> "${GITHUB_OUTPUT}"
docker:
@ -34,9 +34,9 @@ jobs:
with:
version_override: ${{ needs.prerelease.outputs.version }}
run_unit_tests: false
release:
needs: [prerelease,build]
needs: [prerelease, build]
runs-on: ubuntu-latest
steps:
- name: Download artifacts
@ -56,7 +56,7 @@ jobs:
- name: Upload release assets
uses: dwenegar/upload-release-assets@v2
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
release_id: '${{ steps.release.outputs.id }}'
release_id: "${{ steps.release.outputs.id }}"
assets_path: ./artifacts