diff options
Diffstat (limited to '.github/workflows/Test.yml')
-rw-r--r-- | .github/workflows/Test.yml | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/.github/workflows/Test.yml b/.github/workflows/Test.yml index bba04235f..faa27fbc1 100644 --- a/.github/workflows/Test.yml +++ b/.github/workflows/Test.yml @@ -262,32 +262,22 @@ jobs: steps: - name: '📥 Download artifacts' - if: "!contains(github.ref, 'refs/tags/')" uses: actions/download-artifact@v3 with: path: artifacts - # Do not upload assets to tagged releases - - name: Set list of files for uploading - id: files - shell: python - run: | - from os import environ - list = ( - 'None' - if '${{ github.ref }}'.startswith('refs/tags/') else - '**/*.zst **/*.tgz **/ghdl-*.zip **/man/ghdl.1' - ) - with open(environ['GITHUB_OUTPUT'], 'a', encoding='utf-8') as gho: - gho.write(f'list={list}\n') - # Tagged: create a pre-release or a release (semver) # Untagged: update the assets of pre-release 'nightly' - uses: pyTooling/Actions/releaser@r0 with: token: ${{ github.token }} tag: 'nightly' - files: ${{ steps.files.outputs.list }} + snapshots: false + files: | + **/*.zst + **/*.tgz + **/ghdl-*.zip + **/man/ghdl.1 Coverage: |