Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release tag workflow fixes #1215

Merged
merged 3 commits into from
May 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 0 additions & 24 deletions .github/workflows/charm-build.yaml

This file was deleted.

79 changes: 0 additions & 79 deletions .github/workflows/charm-release.yaml

This file was deleted.

84 changes: 0 additions & 84 deletions .github/workflows/charm-test.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/jaas-snap-release.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release jimmctl snap
name: Release jaas snap

on:
workflow_dispatch:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Publish the OCI image to ghcr
name: Publish image
name: Publish server image

on:
# Note that when running via workflow_dispatch, the github.ref_name
Expand All @@ -15,6 +15,7 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
- run: git fetch --tags --force origin # https://github.com/actions/checkout/issues/882 & https://github.com/actions/checkout/issues/290
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:(


- name: Log in to the Container registry
uses: docker/login-action@v3
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/snap-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,14 @@ jobs:
with:
fetch-depth: 0
fetch-tags: true
- name: scripts
- 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/${{ inputs.folder }}/snapcraft.yaml ./snap/
- uses: snapcore/action-build@v1
id: snapcraft
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: ${{ steps.snapcraft.outputs.snap }}
path: ${{ steps.snapcraft.outputs.snap }}
Expand All @@ -39,7 +40,7 @@ jobs:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: ${{needs.build.outputs.snap}}
- uses: snapcore/action-publish@v1
Expand Down
Loading