mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 03:31:15 +03:00
[FIX] GitHub Actions
This commit is contained in:
parent
7154989827
commit
f6d954827e
1 changed files with 3 additions and 6 deletions
9
.github/workflows/push.yml
vendored
9
.github/workflows/push.yml
vendored
|
@ -1,9 +1,6 @@
|
||||||
name: push
|
name: push
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
create:
|
|
||||||
tags:
|
|
||||||
- v*
|
|
||||||
jobs:
|
jobs:
|
||||||
launcher:
|
launcher:
|
||||||
name: Launcher
|
name: Launcher
|
||||||
|
@ -55,7 +52,7 @@ jobs:
|
||||||
- name: Create release
|
- name: Create release
|
||||||
id: create_release
|
id: create_release
|
||||||
uses: actions/create-release@v1
|
uses: actions/create-release@v1
|
||||||
if: github.event_name == 'create'
|
if: github.event.ref == 'refs/tags/*'
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
|
@ -65,13 +62,13 @@ jobs:
|
||||||
prerelease: false
|
prerelease: false
|
||||||
|
|
||||||
- name: Pack release
|
- name: Pack release
|
||||||
if: github.event_name == 'create'
|
if: github.event.ref == 'refs/tags/*'
|
||||||
run: |
|
run: |
|
||||||
cd artifacts/
|
cd artifacts/
|
||||||
zip -r -9 ../Release.zip *
|
zip -r -9 ../Release.zip *
|
||||||
|
|
||||||
- name: Upload release
|
- name: Upload release
|
||||||
if: github.event_name == 'create'
|
if: github.event.ref == 'refs/tags/*'
|
||||||
uses: actions/upload-release-asset@v1
|
uses: actions/upload-release-asset@v1
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
Loading…
Reference in a new issue