File tree Expand file tree Collapse file tree 4 files changed +16
-15
lines changed Expand file tree Collapse file tree 4 files changed +16
-15
lines changed Original file line number Diff line number Diff line change @@ -27,26 +27,25 @@ runs:
2727
2828 # - name: move binary to target directory
2929 # run: |
30- # mkdir -p dist-linux
31- # mv src-tauri/target/release/algokit-explorer dist-linux
30+ # mkdir -p dist
31+ # mv src-tauri/target/release/algokit-explorer dist
3232 # shell: bash
3333
3434 - name : HACK - move binary to target directory
3535 run : |
36- mkdir -p dist-linux
37- mv src/assets/react.svg dist-linux /algokit-explorer
36+ mkdir -p dist
37+ mv src/assets/react.svg dist/algokit-explorer
3838 shell : bash
3939
4040 - name : Generate snapcraft.yaml
4141 run : |
42- ./scripts/snap/create-snapcraft-yaml.sh ${{ github.workspace }} ${{ inputs.release-version }} "stable" "dist-linux "
42+ ./scripts/snap/create-snapcraft-yaml.sh ${{ github.workspace }} ${{ inputs.release-version }} "stable" "dist"
4343 shell : bash
4444
4545 - name : Upload binary as artifact
4646 id : upload-artifact
4747 uses : actions/upload-artifact@v4
4848 with :
49- name : algokit-explorer-linux-${{ runner.arch }}
50- path : |
51- dist-linux/algokit-explorer
52- snap/snapcraft.yaml
49+ if-no-files-found : error
50+ name : algokit-explorer-${{ runner.arch }}
51+ path : dist
Original file line number Diff line number Diff line change 1818 - name : Build snap
1919 uses : snapcore/action-build@v1
2020 with :
21- path : linux- artifacts
21+ path : ${{ inputs. artifacts-path }}
2222 snapcraft-args : --target-arch amd64
2323
2424 - name : Upload binary as artifact
2727 with :
2828 name : algokit-explorer-linux-snap
2929 path : |
30- linux- artifacts/*.snap
30+ ${{ inputs. artifacts-path }} /*.snap
3131
3232 # TODO: in this action, we only publish the snap as an artifact for testing purposes
3333 # once we have the release token, we will publish the snap to Snap Store
Original file line number Diff line number Diff line change @@ -117,14 +117,16 @@ jobs:
117117 with :
118118 fetch-depth : 0
119119
120- - uses : actions/download-artifact@v4
120+ - name : Download Linux artifacts
121+ uses : actions/download-artifact@v4
121122 with :
123+ name : algokit-explorer-linux
122124 merge-multiple : true
123- path : artifacts
125+ path : linux- artifacts
124126
125127 - name : publish Linux Snap
126128 if : ${{ runner.os == 'Linux' }}
127129 uses : ./.github/actions/publish-linux-snap
128130 with :
129- artifacts-path : artifacts
131+ artifacts-path : linux- artifacts
130132 linux-artifact-name : ${{ needs.build-tauri.outputs.linux-artifact-name }}
Original file line number Diff line number Diff line change 5353 - wayland
5454EOF
5555
56- echo " snapcraft.yaml has been created at ${DESTINATION_DIR} /snap/ snapcraft.yaml"
56+ echo " snapcraft.yaml has been created at ${DESTINATION_DIR} /snapcraft.yaml"
You can’t perform that action at this time.
0 commit comments