Skip to content

Commit

Permalink
Merge pull request #13 from cytopia/fix-deprecations
Browse files Browse the repository at this point in the history
Fix deprecations
  • Loading branch information
cytopia authored Oct 27, 2022
2 parents a873aad + 4ba748c commit 4b7c0c4
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 10 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: Release Drafter

on:
Expand All @@ -15,4 +16,4 @@ jobs:
with:
publish: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.RELEASE_DRAFTER_TOKEN }}
16 changes: 11 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,15 +91,21 @@ updates:

## :octocat: [cytopia](https://github.com/cytopia) GitHub Actions

| Name | Description |
|------------------------------|-------------|
| [docker-tag-action] | Determines Docker tags based on git branch, commit or git tag |
| [git-ref-matrix-action] | Create stringified JSON list of git refs to be used as a build matrix |
| [shell-command-retry-action] | Retries shell commands to avoid failing pipelines due to network issues |
| Name | Description |
|----------------------------------|-------------|
| [docker-tag-action] | Determines Docker tags based on git branch, commit or git tag |
| [git-ref-matrix-action] | Create stringified JSON list of git refs to be used as a build matrix |
| [shell-command-retry-action] | Retries shell commands to avoid failing pipelines due to network issues |
| [upload-artifact-verify-action] | Upload artifact and verifies it by downloading it again |
| [upload-artifact-retry-action] | Retries `upload-artifact-verify-action` |
| [download-artifact-retry-action] | Download artifact with retry functionality |

[docker-tag-action]: https://github.com/cytopia/docker-tag-action
[git-ref-matrix-action]: https://github.com/cytopia/git-ref-matrix-action
[shell-command-retry-action]: https://github.com/cytopia/shell-command-retry-action
[upload-artifact-verify-action]: https://github.com/cytopia/upload-artifact-verify-action
[upload-artifact-retry-action]: https://github.com/cytopia/upload-artifact-retry-action
[download-artifact-retry-action]: https://github.com/cytopia/download-artifact-retry-action


## :page_facing_up: License
Expand Down
8 changes: 4 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ runs:
###
### Output matrix
###
echo "::set-output name=matrix::[]"
echo "::set-output name=has_refs::false"
echo "matrix=[]" >> $GITHUB_OUTPUT
echo "has_refs=false" >> $GITHUB_OUTPUT
echo "matrix=[]"
echo "has_refs=false"
else
Expand Down Expand Up @@ -121,7 +121,7 @@ runs:
###
### Set final output for 'matrix'
###
echo "::set-output name=matrix::${JSON}"
echo "matrix=${JSON}" >> $GITHUB_OUTPUT
###
### Set 'has_refs'
Expand All @@ -131,7 +131,7 @@ runs:
else
HAS_REFS="true"
fi
echo "::set-output name=has_refs::${HAS_REFS}"
echo "has_refs=${HAS_REFS}" >> $GITHUB_OUTPUT
###
### Output matrix
Expand Down

0 comments on commit 4b7c0c4

Please sign in to comment.