From 0032e9e1bc4f5e5c0e476bd6b65ff70d86a9c381 Mon Sep 17 00:00:00 2001 From: chulo Date: Tue, 23 Jun 2020 19:07:02 -0300 Subject: [PATCH] WIP --- .github/workflows/release.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 69fab84..9e1bae0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,9 +38,19 @@ jobs: matrix: os: [macOS-latest, ubuntu-latest] steps: + - uses: actions/checkout@v2 - uses: actions/download-artifact@v1 with: name: release_url + - name: Get Release File Name & Upload URL + id: get_release_info + run: | + value=`cat release_url/release_url.txt` + echo ::set-output name=upload_url::$value + env: + TAG_REF_NAME: ${{ github.ref }} + REPOSITORY_NAME: ${{ github.repository }} + - uses: actions/setup-go@v2 with: go-version: 1.14 @@ -51,7 +61,6 @@ jobs: if: matrix.os == 'ubuntu-latest' run: | sudo apt-get -y install libgtk-3-dev libappindicator3-dev libwebkit2gtk-4.0-dev - - uses: actions/checkout@v2 - name: Build win & ubuntu if: matrix.os == 'ubuntu-latest' run: | @@ -62,15 +71,6 @@ jobs: run: | make release-darwin - - name: Get Release File Name & Upload URL - id: get_release_info - run: | - value=`cat release_url/release_url.txt` - echo ::set-output name=upload_url::$value - env: - TAG_REF_NAME: ${{ github.ref }} - REPOSITORY_NAME: ${{ github.repository }} - - name: Upload Linux if: matrix.os == 'ubuntu-latest' uses: actions/upload-release-asset@v1