Skip to content

Update autobuild-main.yml #99

Update autobuild-main.yml

Update autobuild-main.yml #99

name: Auto-build & release to test-builds repo
on:
push:
branches:
- main
jobs:
build:
uses: ./.github/workflows/build-branch.yml
with:
branch: main
release:
runs-on: ubuntu-latest
needs: build
permissions:
contents: write
steps:
- name: Download artifact from build job
uses: actions/download-artifact@v4
with:
name: ${{ needs.build.outputs.bin_name }}
- name: Run shell tasks
run: |
find -name oudedetai -type f -exec chmod +x {} \;
- name: Upload release to test repo
uses: softprops/action-gh-release@v1
with:
tag_name: main-latest
# target_commitish: ${{ needs.build.outputs.sha }}
body: ''
prerelease: true
files: ${{ needs.build.outputs.bin_name }}
repository: FaithLife-Community/test-builds
token: ${{ secrets.N8MARTI_ACCESS_TOKEN }}