Remove deleting of unsigned artifact (requires permissions).

Also restore macos.
This commit is contained in:
John MacFarlane
2026-01-13 10:29:42 +01:00
parent cd6788d721
commit bf60d364ae
+26 -37
View File
@@ -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: