diff options
| author | TazyFoundSoup <gardendistrict0x0@outlook.com> | 2026-04-15 17:38:40 +1000 |
|---|---|---|
| committer | TazyFoundSoup <gardendistrict0x0@outlook.com> | 2026-04-15 17:38:40 +1000 |
| commit | fbcd528390d1e49cc4ea5474b0c45f4fe5e96859 (patch) | |
| tree | 46fc049aa99ea15b6a88d0e45e096ee0fc1a2b52 /.github | |
| parent | a1cd6e8a281afca1fdadf655e4b6780e8384376b (diff) | |
fix(ci/cd): Give canary release writing permissionsv0.1.0
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/canary.yaml | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/.github/workflows/canary.yaml b/.github/workflows/canary.yaml index 2a4a795..b271b32 100644 --- a/.github/workflows/canary.yaml +++ b/.github/workflows/canary.yaml @@ -1,9 +1,7 @@ name: canary - on: push: branches: [ "master" ] - jobs: build: name: ${{ matrix.artifact }} @@ -21,35 +19,30 @@ jobs: - os: windows-latest cc: gcc artifact: libtinyff-windows-x86_64.a - steps: - uses: actions/checkout@v4 - - name: Build run: make CC=${{ matrix.cc }} USE_HOSTED=1 - - name: Copy artifact run: cp dist/libtinyff.a ${{ matrix.artifact }} - - name: Upload artifact uses: actions/upload-artifact@v4 with: name: ${{ matrix.artifact }} path: ${{ matrix.artifact }} - release: name: Publish canary needs: build runs-on: ubuntu-latest + permissions: + contents: write steps: - uses: actions/download-artifact@v4 - - name: Delete existing canary run: gh release delete canary --yes --cleanup-tag || true env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_REPO: ${{ github.repository }} - - name: Create canary release uses: softprops/action-gh-release@v2 with: @@ -60,6 +53,5 @@ jobs: body: | Automated canary build from `${{ github.sha }}`. Built on ${{ github.event.head_commit.timestamp }}. - > ⚠️ This is a rolling prerelease. Not recommended for production use. - files: "**/*.a" + files: "**/*.a"
\ No newline at end of file |
