mirror of
https://github.com/FUjr/gl-infra-builder.git
synced 2025-12-17 09:34:51 +00:00
Update release.yml
This commit is contained in:
parent
9292dcf81f
commit
0525b3c0b0
14
.github/workflows/release.yml
vendored
14
.github/workflows/release.yml
vendored
@ -13,8 +13,18 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: build
|
||||||
|
run: |
|
||||||
|
mkdir ./assets
|
||||||
|
echo 123 > assets/123.txt
|
||||||
|
tar zcf assets/123.txt.tar.gz assets/123.txt
|
||||||
|
rm assets/123.txt
|
||||||
|
echo 456 > assets/456.txt
|
||||||
|
tar zcf assets/456.txt.tar.gz assets/456.txt
|
||||||
|
rm assets/456.txt
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
id: create_release
|
id: create_release
|
||||||
uses: actions/create-release@v1
|
uses: actions/create-release@v1
|
||||||
env:
|
env:
|
||||||
@ -34,4 +44,4 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
release_id: ${{ steps.create_release.outputs.id }}
|
release_id: ${{ steps.create_release.outputs.id }}
|
||||||
assets_path: ./profiles
|
assets_path: ./assets
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user