diff options
| author | John MacFarlane <[email protected]> | 2026-01-13 10:29:42 +0100 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2026-01-13 10:29:42 +0100 |
| commit | bf60d364ae5ddfce703b20f78b7ad1e26038bcb2 (patch) | |
| tree | f9f41394afbdd6ab5b503672466a4421928a7c8f /.github/workflows/release-candidate.yml | |
| parent | cd6788d7216e6e52512f5d74fa828f7eb3c56f16 (diff) | |
Remove deleting of unsigned artifact (requires permissions).
Also restore macos.
Diffstat (limited to '.github/workflows/release-candidate.yml')
| -rw-r--r-- | .github/workflows/release-candidate.yml | 63 |
1 files changed, 26 insertions, 37 deletions
diff --git a/.github/workflows/release-candidate.yml b/.github/workflows/release-candidate.yml index e7c89ae1c..20749f8b7 100644 --- a/.github/workflows/release-candidate.yml +++ b/.github/workflows/release-candidate.yml @@ -89,49 +89,38 @@ jobs: wait-for-completion: true output-artifact-directory: 'windows-release-candidate' - - name: Delete unsigned artifact - id: delete-unsigned-artifact - uses: actions/github-script@v7 - with: - script: | - github.rest.actions.deleteArtifact({ - owner: context.repo.owner, - repo: context.repo.repo, - artifact_id: ${{ steps.upload-unsigned-artifact.outputs.artifact-id }} - }); - - name: upload-signed-artifact id: upload-signed-artifact uses: actions/upload-artifact@v6 with: - name: windows-release-candidated + name: windows-release-candidate-signed path: windows-release-candidate -# macos: -# -# runs-on: macos-15-intel -# -# steps: -# - uses: actions/checkout@v6 -# -# - name: Install ghcup -# run: | -# brew install ghcup -# -# - name: Install ghc and cabal -# run: | -# ghcup install ghc --set 9.10 -# ghcup install cabal --set 3.14 -# echo "$HOME/.ghcup/bin" >> "${GITHUB_PATH}" -# -# - name: Create release -# run: | -# sh macos/make_macos_release.sh -# -# - uses: actions/upload-artifact@v6 -# with: -# name: macos-x86_64 -# path: macos-x86_64 + macos: + + runs-on: macos-15-intel + + steps: + - uses: actions/checkout@v6 + + - name: Install ghcup + run: | + brew install ghcup + + - name: Install ghc and cabal + run: | + ghcup install ghc --set 9.10 + ghcup install cabal --set 3.14 + echo "$HOME/.ghcup/bin" >> "${GITHUB_PATH}" + + - name: Create release + run: | + sh macos/make_macos_release.sh + + - uses: actions/upload-artifact@v6 + with: + name: macos-x86_64 + path: macos-x86_64 # linux: |
