diff options
author | Ashraf Teleb <ashraf.teleb85@gmail.com> | 2020-11-17 19:20:19 +0300 |
---|---|---|
committer | Ashraf Teleb <ashraf.teleb85@gmail.com> | 2020-11-17 19:20:19 +0300 |
commit | 47efdd8d253d895dcc4056994336be010b9920fb (patch) | |
tree | 8ff6cde1ed9b46c1a90efdc7dc3991171759c614 /.github | |
parent | b9c469092deb2c560bf25fe9919f1abfa8cb6e44 (diff) |
Git actions trial 8
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/electron-builder-win.yml | 2 | ||||
-rw-r--r-- | .github/workflows/electron-builder.yml | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/electron-builder-win.yml b/.github/workflows/electron-builder-win.yml index 13e1af8..63fbaf4 100644 --- a/.github/workflows/electron-builder-win.yml +++ b/.github/workflows/electron-builder-win.yml @@ -10,6 +10,8 @@ on: jobs: build: runs-on: windows-latest + env: + GH_TOKEN: ${{ secrets.GH_TOKEN }} steps: - name: Checkout reposistory uses: actions/checkout@v2 diff --git a/.github/workflows/electron-builder.yml b/.github/workflows/electron-builder.yml index b362584..6f60aa8 100644 --- a/.github/workflows/electron-builder.yml +++ b/.github/workflows/electron-builder.yml @@ -49,9 +49,9 @@ jobs: echo $SECRET_FILE yarn install if [ "$OS_NAME" = "ubuntu-latest" ]; then sudo snap install snapcraft --classic; fi - if [ "$OS_NAME" = "ubuntu-latest" ]; then snapcraft login --with /tmp/login_token_file; fi + #if [ "$OS_NAME" = "ubuntu-latest" ]; then snapcraft login --with /tmp/login_token_file; fi yarn run sync yarn run release-linux if [ "$OS_NAME" = "ubuntu-latest" ]; then yarn run release-snap; fi # Cannot configure electron-builder to publish to stable channel, so do it explicitly - if [ "$OS_NAME" = "ubuntu-latest" ]; then snapcraft push --release stable dist/draw.io-amd64-*.snap; fi + #if [ "$OS_NAME" = "ubuntu-latest" ]; then snapcraft push --release stable dist/draw.io-amd64-*.snap; fi |