Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
start with testing upload
Browse files Browse the repository at this point in the history
See: actions/upload-artifact#51

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
  • Loading branch information
maggu2810 committed Apr 3, 2023
1 parent e58a0d5 commit 4740e99
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/package-linux-appimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
ubuntu1804:
name: Ubuntu 18.04
runs-on: ubuntu-18.04
if: ${{ false }} # disable for now
steps:
- name: Clone Repository
uses: actions/checkout@v3
Expand Down Expand Up @@ -221,3 +222,41 @@ jobs:
with:
name: linux-appimage-ubuntu-22.04
path: '*.AppImage'

upload:
name: Create release and upload artifacts
needs:
#- ubuntu1804
- ubuntu2004
- ubuntu2204
runs-on: ubuntu-22.04
steps:
- name: Install AppImage requirements
run: |
sudo apt-get install -y libfuse2
- name: Install AppImage stuff
run: |
mkdir ~/Applications
curl -s -L --output ~/Applications/pyuploadtool-x86_64.AppImage https://github.com/TheAssassin/pyuploadtool/releases/download/continuous/pyuploadtool-x86_64.AppImage
chmod 0755 ~/Applications/pyuploadtool-x86_64.AppImage
- name: Download artifacts
uses: actions/download-artifact@v2

- name: Inspect directory after downloading artifacts
run: ls -alFR

- name: Create release and upload artifacts
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
#mv linux-appimage-ubuntu-18.04/d1x-rebirth*.AppImage d1x-rebirth-u1804.AppImage
#mv linux-appimage-ubuntu-18.04/d2x-rebirth*.AppImage d2x-rebirth-u1804.AppImage
mv linux-appimage-ubuntu-20.04/d1x-rebirth*.AppImage d1x-rebirth-u2004.AppImage
mv linux-appimage-ubuntu-20.04/d2x-rebirth*.AppImage d2x-rebirth-u2004.AppImage
mv linux-appimage-ubuntu-22.04/d1x-rebirth*.AppImage d1x-rebirth-u2204.AppImage
mv linux-appimage-ubuntu-22.04/d2x-rebirth*.AppImage d2x-rebirth-u2204.AppImage
ls -alFR
~/Applications/pyuploadtool-x86_64.AppImage d1x-rebirth*.AppImage d2x-rebirth*.AppImage

0 comments on commit 4740e99

Please sign in to comment.