Skip to content

Commit

Permalink
Update on-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gregandcin authored Feb 26, 2024
1 parent 3fc0083 commit e3d8919
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v3

- name: Setup Go
uses: actions/setup-go@v5
Expand All @@ -36,7 +36,7 @@ jobs:
run: mv bin/Pinecone.tar.xz bin/Pinecone_linux.tar.xz

- name: Upload Linux Bin
uses: djn24/add-asset-to-release@v1
uses: djn24/add-asset-to-release@v2
with:
token: ${{secrets.GITHUB_TOKEN}}
path: 'bin/Pinecone_linux.tar.xz'
Expand All @@ -47,7 +47,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v3

- name: Setup Go
uses: actions/setup-go@v5
Expand All @@ -64,7 +64,7 @@ jobs:
run: zip -vr Pinecone_macos.zip bin/Pinecone.app -x "*.DS_Store" && mv Pinecone_macos.zip bin/

- name: Upload MacOS Bin
uses: djn24/add-asset-to-release@v1
uses: djn24/add-asset-to-release@v2
with:
token: ${{secrets.GITHUB_TOKEN}}
path: 'bin/Pinecone_macos.zip'
Expand All @@ -75,7 +75,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v3

- name: Setup Go
uses: actions/setup-go@v5
Expand All @@ -98,7 +98,7 @@ jobs:
run: Compress-Archive "bin/Pinecone.exe" "Pinecone_win.zip" && mv Pinecone_win.zip bin/

- name: Upload Win Bin
uses: djn24/add-asset-to-release@v1
uses: djn24/add-asset-to-release@v2
with:
token: ${{secrets.GITHUB_TOKEN}}
path: 'bin/Pinecone_win.zip'

0 comments on commit e3d8919

Please sign in to comment.