Skip to content

Revert "chore(main): release 2.1.0 (#239)" (#245) #139

Revert "chore(main): release 2.1.0 (#239)" (#245)

Revert "chore(main): release 2.1.0 (#239)" (#245) #139

name: release-please
on:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
jobs:
release-please:
runs-on: ubuntu-latest
outputs:
release_created: ${{ steps.release.outputs.release_created }}
tag_name: ${{ steps.release.outputs.tag_name }}
release_sha: ${{ steps.release.outputs.sha }}
steps:
- id: release
uses: googleapis/release-please-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
config-file: release-please-config.json
publish:
needs: release-please
if: needs.release-please.outputs.release_created == 'true'
runs-on: ubuntu-latest
name: Publish to Godot Asset Store
steps:
- name: Checkout
uses: actions/checkout@v2
with:
lfs: true
- name: Setup Deno
uses: denoland/setup-deno@v1
with:
deno-version: 1.46.1
- name: Build & Release
env:
OUTPUT_DIR: /tmp/artifacts/
ASSET_VERSION: ${{ needs.release-please.outputs.tag_name }}
AWS_ACCESS_KEY_ID: ${{ secrets.R2_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.R2_SECRET_ACCESS_KEY }}
GODOT_ASSET_LIB_USERNAME: ${{ secrets.GODOT_ASSET_LIBRARY_USERNAME }}
GODOT_ASSET_LIB_USERNAME: ${{ secrets.GODOT_ASSET_LIBRARY_PASSWORD }}

Check failure on line 51 in .github/workflows/release-please.yml

View workflow run for this annotation

GitHub Actions / release-please

Invalid workflow file

The workflow is not valid. .github/workflows/release-please.yml (Line: 51, Col: 11): 'GODOT_ASSET_LIB_USERNAME' is already defined
run: |
./scripts/release.ts
- name: Upload ZIP artifact
uses: actions/upload-artifact@v3
with:
name: rivet-plugin
path: /tmp/artifacts/rivet-plugin-godot.zip