testing
This commit is contained in:
parent
1ea45f8ff0
commit
0590e5aa0b
1 changed files with 12 additions and 1 deletions
|
@ -12,13 +12,24 @@ jobs:
|
|||
- name: Build
|
||||
shell: bash
|
||||
run: |
|
||||
bash ./build.sh
|
||||
bash echo "a" > test.tar.gz
|
||||
|
||||
- name: Extract version from build.sh
|
||||
shell: bash
|
||||
run: |
|
||||
echo "VER=$(grep "^tag" build.sh | sed -E 's/tag\s*=\s*["]([^"]*)["]/\1/')" >> $GITHUB_ENV
|
||||
|
||||
- name: Upload binaries to release
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
with:
|
||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
file: ./*.tar.*
|
||||
file_glob: true
|
||||
overwrite: true
|
||||
tag: ${{ github.ref }}
|
||||
overwrite: true
|
||||
body: "This is my release text"
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: Wine ${{ env.VER }}
|
||||
|
|
Loading…
Reference in a new issue