diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index e46b200..088f98c 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -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 }}