Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
emilioastarita committed Jun 23, 2020
1 parent 18c9cc0 commit 0032e9e
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: |
Expand All @@ -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
Expand Down

0 comments on commit 0032e9e

Please sign in to comment.