new website with react-vite #65
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: [ "**" ] | |
pull_request: | |
branches: [ "master" ] | |
types: [ "review_requested", "ready_for_review" ] | |
workflow_dispatch: | |
name: Test Snap packaging | |
permissions: | |
id-token: write | |
contents: read | |
jobs: | |
gnome-snap: | |
name: "Snap" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Git repository | |
uses: actions/checkout@v4 | |
- name: Use source from current branch | |
run: | | |
sed -i 's/source:.*/source: ./g' snap/snapcraft.yaml | |
- name: Build Test Mousam Snap | |
uses: snapcore/action-build@v1 | |
id: snapcraft-build | |
with: | |
snapcraft-args: "-v" | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: mousam-snap | |
path: ${{ steps.snapcraft-build.outputs.snap }} |