Release GIMP Appimage #80
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release GIMP Appimage | |
concurrency: | |
group: build-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
schedule: | |
- cron: "0 14 * * 0" | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: build | |
if: always() | |
run: | | |
sudo apt update && sudo apt install libfuse2 | |
mkdir tmp | |
cd tmp | |
wget https://raw.githubusercontent.com/ivan-hc/GIMP-appimage/main/gimp-junest.sh | |
chmod a+x ./gimp-junest.sh | |
./gimp-junest.sh | |
cd .. | |
mv ./tmp/*AppImage ./ | |
mkdir tmp2 | |
cd tmp2 | |
wget https://raw.githubusercontent.com/ivan-hc/GIMP-appimage/main/gimp-dev-junest.sh | |
chmod a+x ./gimp-dev-junest.sh | |
./gimp-dev-junest.sh | |
cd .. | |
mv ./tmp2/*AppImage ./ | |
mkdir dist | |
mv *AppImage dist/ | |
- uses: gautamkrishnar/keepalive-workflow@v1 | |
with: | |
gh_token: ${{ secrets.GH_TOKEN }} | |
- name: Upload artifact | |
uses: actions/[email protected] | |
with: | |
name: GNU_Image_Manipulation_Program-x86_64.AppImage | |
path: 'dist' | |
release: | |
needs: [build] | |
permissions: write-all | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/download-artifact@v1 | |
with: | |
name: GNU_Image_Manipulation_Program-x86_64.AppImage | |
- name: release | |
uses: marvinpinto/action-automatic-releases@latest | |
with: | |
title: Continuous builds (JuNest Arch Linux-based AppImages) | |
automatic_release_tag: continuous | |
prerelease: false | |
draft: false | |
files: | | |
GNU_Image_Manipulation_Program-x86_64.AppImage | |
GNU_Image_Manipulation_Program-DEV-x86_64.AppImage | |
repo_token: ${{ secrets.GITHUB_TOKEN }} |