Skip to content

Commit 584ee82

Browse files
authored
Merge pull request #8 from torqio/fix_tag2
fix tag 2
2 parents 69114f9 + 67e0dd8 commit 584ee82

1 file changed

Lines changed: 15 additions & 11 deletions

File tree

.github/workflows/tag.yml

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,24 @@ jobs:
2828
release_name: Release ${{ github.ref }}
2929
draft: false
3030
prerelease: false
31-
- name: Upload Release Assets
31+
- name: Upload Release Asset Linux
3232
uses: actions/upload-release-asset@v1
33-
strategy:
34-
matrix:
35-
include:
36-
- asset_path: ./artifacts/protodep_linux_amd64.tar.gz
37-
asset_name: protodep_linux_amd64.tar.gz
38-
- asset_path: ./artifacts/protodep_darwin_arm64.tar.gz
39-
asset_name: protodep_darwin_arm64.tar.gz
40-
id: upload-release-asset-${{ matrix.asset_name }}
33+
id: upload-release-asset-linux
4134
env:
4235
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4336
with:
4437
upload_url: ${{ steps.create_release.outputs.upload_url }}
45-
asset_path: ${{ matrix.asset_path }}
46-
asset_name: ${{ matrix.asset_name }}
38+
asset_path: ./artifacts/protodep_linux_amd64.tar.gz
39+
asset_name: protodep_linux_amd64.tar.gz
40+
asset_content_type: application/tar
41+
42+
- name: Upload Release Asset Darwin
43+
uses: actions/upload-release-asset@v1
44+
id: upload-release-asset-darwin
45+
env:
46+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
47+
with:
48+
upload_url: ${{ steps.create_release.outputs.upload_url }}
49+
asset_path: ./artifacts/protodep_darwin_arm64.tar.gz
50+
asset_name: protodep_darwin_arm64.tar.gz
4751
asset_content_type: application/tar

0 commit comments

Comments
 (0)