Skip to content

Commit

Permalink
;workflows: release: fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichael committed May 19, 2024
1 parent 1faad6f commit 6e7b8f9
Showing 1 changed file with 20 additions and 8 deletions.
28 changes: 20 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:

# Get artifact from the latest binaries-linux-x64 run
- name: Get latest linux binaries artifact
# XXX unverified, disallowed
uses: dawidd6/action-download-artifact@09f2f74827fd3a8607589e5ad7f9398816f540fe # https://github.com/dawidd6/action-download-artifact v3.1.4
uses: dawidd6/action-download-artifact@09f2f74827fd3a8607589e5ad7f9398816f540fe
# https://github.com/dawidd6/action-download-artifact v3.1.4, unverified so needs to be whitelisted in repo settings
with:
# Optional, GitHub token, a Personal Access Token with `public_repo` scope if needed
# Required, if the artifact is from a different repo
Expand Down Expand Up @@ -50,9 +50,9 @@ jobs:
# Optional, no need to specify if PR is
# commit: ${{github.event.pull_request.head.sha}}
# Optional, will use the specified branch. Defaults to all branches
branch: binaries-linux-x64
# branch: binaries-linux-x64
# Optional, defaults to all types
event: push
# event: push
# Optional, run number from the workflow
# run_number: 34
# Optional, uploaded artifact name,
Expand All @@ -66,7 +66,7 @@ jobs:
# Optional, name is treated as a regular expression if set true
# name_is_regexp: true
# Optional, a directory where to extract artifact(s), defaults to the current directory
path: tmp
path: artifacts
# Optional, defaults to current repo
# repo: ${{ github.repository }}
# Optional, check the workflow run to whether it has an artifact
Expand All @@ -85,14 +85,16 @@ jobs:
# default fail
# if_no_artifact_found: fail
# Optional, allow forks when searching for artifacts
# default false
# allow_forks: false
# default true
allow_forks: false

- name: Inspect
shell: bash
run: |
echo .:
ls -lF
ls -lF tmp
echo artifacts:
ls -lRF artifacts
# - name: Make tarball
# shell: bash
Expand Down Expand Up @@ -138,6 +140,16 @@ jobs:



# https://github.com/marketplace/actions/safe-download-workflow-artifact

# https://github.com/actions/upload-artifact/issues/89#issuecomment-1194408215

# https://www.eliostruyf.com/retrieving-artifact-previous-github-actions-workflow/

# We have two workflows, one for building and one for releasing built artifacts upon a tag release.
# They're both summoned from one push event, and the release job waits for the other job:
# https://github.com/dawidd6/action-download-artifact/issues/245


# - name: version
# run: echo "::set-output name=version::$(./bin/azblogfilter --version)"
Expand Down

0 comments on commit 6e7b8f9

Please sign in to comment.