Skip to content

Commit

Permalink
jobs doesn't work (#1241)
Browse files Browse the repository at this point in the history
  • Loading branch information
ale8k authored Jun 17, 2024
1 parent a94a229 commit 2a54ec0
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions .github/workflows/release-snaps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,22 @@ jobs:
release-channel: 3/edge
secrets: inherit

build-and-release-jimm-server:
uses: ./.github/workflows/snap-release.yaml
with:
jobs: build # Only build, this snap isn't released to snapcraft
folder: jimm
release-channel: 3/edge # Not used for this snap
secrets: inherit
build-jimm-server:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- run: git fetch --tags --force origin # https://github.com/actions/checkout/issues/882 & https://github.com/actions/checkout/issues/290
- name: Setup snap to build
run: |
mkdir -p ./snap
cp ./snaps/jimm/snapcraft.yaml ./snap/
- uses: snapcore/action-build@v1
id: snapcraft
- uses: actions/upload-artifact@v4
with:
name: ${{ steps.snapcraft.outputs.snap }}
path: ${{ steps.snapcraft.outputs.snap }}

0 comments on commit 2a54ec0

Please sign in to comment.