Skip to content

0.57.0: Squeaky Clean Cycle #2

0.57.0: Squeaky Clean Cycle

0.57.0: Squeaky Clean Cycle #2

Workflow file for this run

name: Release
on:
release:
types: [released]
jobs:
dispatch-plugins:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Parse checksum
id: parse_checksum
run: echo "checksum=$(grep -o '[a-fA-F0-9]\{64\}' Package.swift)" >> $GITHUB_OUTPUT
- name: Dispatch release of plugins package
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.SIMPLYDANNY_PLUGINS_SYNC }}
repository: SimplyDanny/SwiftLintPlugins
event-type: swiftlint-release
client-payload: |-
{
"title": "${{ github.event.release.name }}",
"tag": "${{ github.event.release.tag_name }}",
"checksum": "${{ steps.parse_checksum.outputs.checksum }}"
}
trigger-docker:
uses: ./.github/workflows/docker.yml
with:
tag: ${{ github.event.release.tag_name }}
secrets: inherit

Check failure on line 32 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / Release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 32, Col: 16): Invalid input, secrets is not defined in the referenced workflow.
upload-docker:
needs: trigger-docker
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Upload binary to existing release
run: make zip_linux_release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
publish-pod:
runs-on: macOS-latest
steps:
- uses: actions/checkout@v4
- name: Retrieve author in uppercase
id: retrieve_author
run: |
AUTHOR=${{ github.event.release.author.login }}
echo "name=${AUTHOR@U}" >> $GITHUB_OUTPUT
- name: Deploy to CocoaPods
run: make pod_publish
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets[format('COCOAPODS_TRUNK_TOKEN_{0}', steps.retrieve_author.outputs.name)] }}