Skip to content

Commit 0868513

Browse files
committed
build: more fix
1 parent df8f0cb commit 0868513

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

.github/actions/build-linux/action.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,6 @@ runs:
3737
mv src/assets/react.svg dist/algokit-explorer
3838
shell: bash
3939

40-
- name: Generate snapcraft.yaml
41-
run: |
42-
./scripts/snap/create-snapcraft-yaml.sh "dist" ${{ inputs.release-version }} "stable" "dist"
43-
shell: bash
44-
4540
- name: Upload binary as artifact
4641
id: upload-artifact
4742
uses: actions/upload-artifact@v4

.github/actions/publish-linux-snap/action.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,14 @@ runs:
1515
ls -R ${{ inputs.artifacts-path }}
1616
shell: bash
1717

18+
- name: Generate snapcraft.yaml
19+
run: |
20+
./scripts/snap/create-snapcraft-yaml.sh ${{ github.workspace }} ${{ inputs.release-version }} "stable" "${{ inputs.artifacts-path }}"
21+
shell: bash
22+
1823
- name: Build snap
1924
uses: snapcore/action-build@v1
2025
with:
21-
path: ${{ inputs.artifacts-path }}
2226
snapcraft-args: --target-arch amd64
2327

2428
- name: Upload binary as artifact
@@ -27,7 +31,7 @@ runs:
2731
with:
2832
name: algokit-explorer-linux-snap
2933
path: |
30-
${{ inputs.artifacts-path }}/*.snap
34+
*.snap
3135
3236
#TODO: in this action, we only publish the snap as an artifact for testing purposes
3337
# once we have the release token, we will publish the snap to Snap Store

.github/workflows/release.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ permissions:
2626

2727
jobs:
2828
ci:
29+
if: false
2930
name: CI
3031
uses: makerxstudio/shared-config/.github/workflows/node-ci.yml@main
3132
with:
@@ -50,8 +51,6 @@ jobs:
5051

5152
create-release:
5253
runs-on: [ubuntu-20.04]
53-
needs:
54-
- ci
5554
name: Create release
5655
steps:
5756
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)