Skip to content

Commit

Permalink
Add tmate debugging and cleanup step, turn off .flatpak-builder cache
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew J. Milner <[email protected]>
  • Loading branch information
matterhorn103 committed Nov 11, 2024
1 parent 052970b commit e2defc7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/flatpak.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ jobs:
repository: flathub/shared-modules
path: shared-modules

- name: Setup tmate session
if: failure()
uses: mxschmitt/action-tmate@v3

Check warning

Code scanning / Semgrep (reported by Codacy)

An action sourced from a third-party repository on GitHub is not pinned to a full length commit SHA. Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Warning

An action sourced from a third-party repository on GitHub is not pinned to a full length commit SHA. Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release.

- name: Move manifest
run: mv src/avogadroapp/flatpak/org.openchemistry.Avogadro2.yaml ./

Expand All @@ -74,4 +78,14 @@ jobs:
bundle: avogadro2.flatpak
branch: nightly
manifest-path: org.openchemistry.Avogadro2.yaml
cache: false
cache-key: flatpak-builder-${{ github.sha }}

- name: Cleanup
if: ${{ always() }} # To ensure this step runs even when earlier steps fail
shell: bash
run: |
ls -la ./
rm -rf ./* || true
rm -rf ./.??* || true
ls -la ./

0 comments on commit e2defc7

Please sign in to comment.