Publish v0.8.12-beta.5 #42
Workflow file for this run
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
# Workflow to copy artifacts from the staging bucket to the release bucket when a new GitHub Release is published. | |
name: Publish Release | |
run-name: Publish ${{ github.ref_name }} | |
on: | |
release: | |
types: [published] | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Task | |
uses: arduino/setup-task@v2 | |
with: | |
version: 3.x | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Publish from staging | |
if: startsWith(github.ref, 'refs/tags/') | |
run: "task artifacts:publish:${{ github.ref_name }}" | |
env: | |
AWS_ACCESS_KEY_ID: "${{ secrets.PUBLISHER_KEY_ID }}" | |
AWS_SECRET_ACCESS_KEY: "${{ secrets.PUBLISHER_KEY_SECRET }}" | |
AWS_DEFAULT_REGION: us-west-2 | |
shell: bash |