Modern Apps git

← xtool.git

Move artifact upload to release-linux

Commit
4d28a353d845514327f2ed2e5497e658b8287b39
Author
Kabir Oberai <[email protected]>
When
2025-04-24 23:57 UTC (1 year ago)
Parents
e8bcc9d
build.yml doesn’t package, silly

Diff

.github/workflows/build.yml
diff --git a/.github/workflows/build.yml b/.github/workflows/build.ymlindex 5311921..92c1cef 100644--- a/.github/workflows/build.yml+++ b/.github/workflows/build.yml@@ -17,11 +17,6 @@ jobs:       - name: Build         run: |           docker compose run --build --rm supersign -c "swift build --product SupersignCLI"-      - name: Upload artifact-        uses: actions/upload-artifact@v4-        with:-          name: Supersign-${{ matrix.host.arch }}.AppImage-          path: Linux/packages/Supersign.AppImage   build-macos:     runs-on: macos-15     steps:
.github/workflows/release-linux.yml
diff --git a/.github/workflows/release-linux.yml b/.github/workflows/release-linux.ymlindex 6934b6e..cfcc9ed 100644--- a/.github/workflows/release-linux.yml+++ b/.github/workflows/release-linux.yml@@ -2,8 +2,16 @@ on:   workflow_dispatch:  jobs:-  release:-    runs-on: ubuntu-latest+  build:+    strategy:+      fail-fast: false+      matrix:+        host:+          - runner: ubuntu-24.04+            arch: x86_64+          - runner: ubuntu-24.04-arm+            arch: aarch64+    runs-on: ${{ matrix.host.runner }}     permissions:       contents: write     steps:@@ -12,9 +20,29 @@ jobs:       - name: Build         run: |           docker compose run --build --rm supersign -c Linux/build.sh-      - name: Release-        uses: softprops/action-gh-release@v2+          mv Linux/packages/Supersign.AppImage Linux/packages/Supersign-${{ matrix.host.arch }}.AppImage+      - name: Upload artifact+        id: upload_artifact+        uses: actions/upload-artifact@v4         with:-          draft: true-          files: |-            Linux/packages/Supersign.AppImage+          name: Supersign-${{ matrix.host.arch }}+          path: Linux/packages/Supersign-${{ matrix.host.arch }}.AppImage+  release:+    needs: build+    runs-on: ubuntu-24.04+    permissions:+      contents: write+    steps:+      - uses: actions/checkout@v4+      - name: Download artifact+        id: download_artifact+        uses: actions/download-artifact@v4+        with:+          pattern: Supersign-*+          path: output+      - name: Create and publish release+        id: publish_release+        run: |+          TAG="${GITHUB_REF##*/}-${GITHUB_SHA:0:7}"+          gh release create "$TAG" --draft --title "Draft Release"+          gh release upload "$TAG" output/**/*.AppImage