This commit is contained in:
Ethan O'Brien 2024-08-16 09:32:27 -05:00
parent 1ea45f8ff0
commit 0590e5aa0b

View file

@ -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 }}