Skip to content

feat: mirror HSTracker.app.zip to S3 bucket in Asia #1

feat: mirror HSTracker.app.zip to S3 bucket in Asia

feat: mirror HSTracker.app.zip to S3 bucket in Asia #1

Workflow file for this run

on:
release:
types: [released, edited]
permissions:
id-token: write
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Download release asset

Check failure on line 17 in .github/workflows/asia-release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/asia-release.yml

Invalid workflow file

You have an error in your yaml syntax on line 17
uses: dsaltares/[email protected]
with:
version: ${{ github.ref }}
file: 'HSTracker.app.zip'
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.AWS_ASIA_DEPLOY_ROLE_ARN }}
aws-region: ap-east-1
- name: Publish
run: aws s3 sync HSTracker.app.zip "s3://${{ secrets.AWS_S3_BUCKET }}/hstracker/HSTracker.app.zip"