Skip to content

Commit

Permalink
Move to Github actions for build script
Browse files Browse the repository at this point in the history
  • Loading branch information
valicm committed Sep 7, 2022
1 parent fbdfd92 commit e23a2e9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 13 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,22 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- name: Check version
- name: Build
id: build
run: |
wget https://raw.githubusercontent.com/valicm/appimage-bash/main/build.sh
chmod +x build.sh
bash build.sh verify
uses: valicm/appimage-bash@main
with:
version_url: 'https://dl.pstmn.io/download/latest/linux64'
version_file: 'app/resources/app/package.json'
version_bash: 'jq -r .version'
version_icon: 'icon_128x128.png'
- name: Upload artifact
if: ${{ env.APP_UPDATE_NEEDED == 1 }}
if: ${{ env.APP_UPDATE_NEEDED == 'true' }}
uses: actions/upload-artifact@v1
with:
name: ${{ env.APP_SHORT_NAME }}.AppImage
path: 'dist'
- name: Release
if: ${{ env.APP_UPDATE_NEEDED == 1 }}
if: ${{ env.APP_UPDATE_NEEDED == 'true' }}
uses: marvinpinto/action-automatic-releases@latest
with:
title: ${{ env.APP_NAME }} AppImage ${{ env.APP_VERSION }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ chmod +x Postman-*.AppImage
```

#### Build
The AppImage is built from .tar.gz DBeaver package by GitHub Continuous Integration using this
The AppImage is built from .tar.gz Postman package by GitHub Continuous Integration using this
bash script https://github.com/valicm/appimage-bash.
5 changes: 0 additions & 5 deletions app.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,3 @@ Icon=Postman
StartupWMClass=Postman
Categories=Development;
Comment=Postman REST Client

VersionUrl=https://dl.pstmn.io/download/latest/linux64
VersionFile=app/resources/app/package.json
VersionBash=jq -r .version
VersionIcon=icon_128x128.png

0 comments on commit e23a2e9

Please sign in to comment.