-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from maxthier/chore/actions
ci: switch to reusable workflows
- Loading branch information
Showing
2 changed files
with
6 additions
and
30 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,19 +9,6 @@ on: | |
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository and submodules | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: 'true' | ||
|
||
- name: Set version in galaxy.yml | ||
run: | | ||
VERSION=${GITHUB_REF#refs/tags/v} | ||
sed -re "s/^version:.*$/version: ${VERSION}/" -i galaxy.yml | ||
- name: Upload collection to Ansible Galaxy | ||
uses: ansible/[email protected] | ||
with: | ||
api_key: ${{ secrets.GALAXY_API_KEY }} | ||
uses: adfinis/github-workflows-bareos/.github/workflows/[email protected] | ||
secrets: | ||
galaxy_api_key: ${{ secrets.GALAXY_API_KEY }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,17 +9,6 @@ on: | |
|
||
jobs: | ||
semantic-release: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Run go-semantic-release | ||
id: semrel | ||
uses: go-semantic-release/[email protected] | ||
with: | ||
allow-initial-development-versions: true | ||
github-token: ${{ secrets.ADFINISBOT_GITHUB_TOKEN }} | ||
uses: adfinis/github-workflows-bareos/.github/workflows/[email protected] | ||
secrets: | ||
ADFINISBOT_GITHUB_TOKEN: ${{ secrets.ADFINISBOT_GITHUB_TOKEN }} |