diff options
author | Ashraf Teleb <ashraf.teleb85@gmail.com> | 2020-11-17 21:33:39 +0300 |
---|---|---|
committer | Ashraf Teleb <ashraf.teleb85@gmail.com> | 2020-11-17 21:33:39 +0300 |
commit | 0d6d075f82bd21f14190e34663b029dcfc02959f (patch) | |
tree | f8cdb63fd27673ab2601575fbd415f62feeba1ef /.github | |
parent | 1c6d9840e2172bdd5529bcb9450e6207052c7af5 (diff) |
Git actions trial 10
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/electron-builder-win.yml | 1 | ||||
-rw-r--r-- | .github/workflows/electron-builder.yml | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/electron-builder-win.yml b/.github/workflows/electron-builder-win.yml index 7710bdc..63fbaf4 100644 --- a/.github/workflows/electron-builder-win.yml +++ b/.github/workflows/electron-builder-win.yml @@ -37,5 +37,6 @@ jobs: - name: Archive production appx uses: actions/upload-artifact@v2 with: + name: electron-builder-appx path: dist/*.appx retention-days: 1
\ No newline at end of file diff --git a/.github/workflows/electron-builder.yml b/.github/workflows/electron-builder.yml index e7d25e5..55d33c0 100644 --- a/.github/workflows/electron-builder.yml +++ b/.github/workflows/electron-builder.yml @@ -41,7 +41,8 @@ jobs: git submodule update --init --recursive sudo npm install -g yarn #To generate SNAP_TOKEN run `snapcraft export-login [FILE]` and login with your snapcraft credentials - if [ "$OS_NAME" = "ubuntu-latest" ]; then echo $SNAP_TOKEN > /tmp/login_token_file; fi + if [ "$OS_NAME" = "ubuntu-latest" ]; then echo $SNAP_TOKEN > /tmp/login_token_file_b64; fi + if [ "$OS_NAME" = "ubuntu-latest" ]; then base64 -d /tmp/login_token_file_b64 -o /tmp/login_token_file; fi 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 |