Name artifact with a timestamp
This commit is contained in:
parent
0b165f4945
commit
b7a1f86125
2 changed files with 7 additions and 15 deletions
|
@ -32,15 +32,11 @@ jobs:
|
|||
- run: yarn install --frozen-lockfile
|
||||
- run: yarn build
|
||||
- run: yarn package
|
||||
- name: Upload Linux Binary
|
||||
- name: Upload Binary
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
path: bin/random-bunny-linux
|
||||
if-no-files-found: error
|
||||
- name: Upload Windows Binary
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
path: bin/random-bunny-win.exe
|
||||
name: random-bunny-${{ github.run_id }}-${{ github.event.head_commit.timestamp }}
|
||||
path: bin/
|
||||
if-no-files-found: error
|
||||
|
||||
publish:
|
||||
|
|
|
@ -34,13 +34,9 @@ jobs:
|
|||
- run: yarn install --frozen-lockfile
|
||||
- run: yarn build
|
||||
- run: yarn package
|
||||
- name: Upload Linux Binary
|
||||
- name: Upload Binary
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
path: bin/random-bunny-linux
|
||||
if-no-files-found: error
|
||||
- name: Upload Windows Binary
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
path: bin/random-bunny-win.exe
|
||||
if-no-files-found: error
|
||||
name: random-bunny-${{ github.run_id }}-${{ github.event.head_commit.timestamp }}
|
||||
path: bin/
|
||||
if-no-files-found: error
|
Loading…
Reference in a new issue