Skip to content

Commit

Permalink
Update 03-update-assets
Browse files Browse the repository at this point in the history
  • Loading branch information
anaegel authored Sep 25, 2024
1 parent a4d531d commit 421b0d2
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/03-update-assets
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
on:
push:
workflow_dispatch
# push:
# Sequence of patterns matched against refs/tags
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
# tags:
# - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10

name: Upload Release Asset
jobs:
Expand All @@ -16,11 +17,11 @@ jobs:
- name: Download pre-packed asset
uses: actions/download-artifact@v4
with:
name: asset-${{matrix.os}}
name: ProMesh4-Installer-${{matrix.os}}
path: assets
github-token: ${{ github.token }}
repository: ${{ github.repository }}
run-id: 11025786398
run-id: 11026224064

- name: Download pre-packed artifact
runs: ls assets
Expand All @@ -32,6 +33,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ./assets/my-artifact.zip
asset_name: my-artifact.zip
asset_path: ./assets/ProMesh4-Installer-${{matrix.os}}.zip
asset_name: ProMesh4-Installer-${{matrix.os}}.zip
asset_content_type: application/zip

0 comments on commit 421b0d2

Please sign in to comment.