aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorumarcor <unai.martinezcorral@ehu.eus>2023-03-05 19:54:29 +0000
committerumarcor <unai.martinezcorral@ehu.eus>2023-03-05 20:48:16 +0000
commit6697d3502aba1923d900f6a9c781b392f1f4c9c6 (patch)
tree790180d40ed62fbab160afdbaa186ad8097a6fe8 /.github
parent0edaa61d52fff06dda6e582c4ffe5af6d970a190 (diff)
downloadghdl-6697d3502aba1923d900f6a9c781b392f1f4c9c6.tar.gz
ghdl-6697d3502aba1923d900f6a9c781b392f1f4c9c6.tar.bz2
ghdl-6697d3502aba1923d900f6a9c781b392f1f4c9c6.zip
ci/Test/Release: update strategy
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/Test.yml22
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: