Skip to content

chore: test asset workflow #1

chore: test asset workflow

chore: test asset workflow #1

Workflow file for this run

on:
push:
branches:
- *

Check failure on line 4 in .github/workflows/assets.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/assets.yaml

Invalid workflow file

You have an error in your yaml syntax on line 4
permissions:
id-token: write
contents: write
pull-requests: write
name: assets
jobs:
upload-artifacts:
runs-on: ubuntu-latest
env:
EVAL_FILE_NAME: evaluate.py
steps:
- uses: actions/checkout@v3
- name: Setup git PAT override
run: |
git config --global --add url."https://${{ secrets.ORG_AUTOMATION_TOKEN }}:@github".insteadOf ssh://git@github
- name: Configure aws credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::818196790983:role/upload-releases-to-assets.timescale.com
aws-region: us-east-1
- name: Upload the binary to assets.timescale.com
run: |
aws s3api put-object \
--acl public-read \
--bucket assets.timescale.com \
--key migration/${EVAL_FILE_NAME} \
--body ${EVAL_FILE_NAME}