Skip to content

Commit

Permalink
pipeline: pin actions, add "draft: false" to create nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
kirides authored Nov 17, 2023
1 parent 5f05b0c commit e192c89
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
configuration: [Release_AVX, Release_G1_AVX, Release, Release_G1, Spacer_NET, Launcher]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1
uses: microsoft/setup-msbuild@v1.1

- name: Set tag and directory name env
run: |
Expand All @@ -51,7 +51,7 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set tag and directory name env
run: |
Expand Down Expand Up @@ -105,7 +105,8 @@ jobs:
- name: Delete old nightly
if: github.ref_name == 'master'
uses: dev-drprasad/[email protected]
# v1.0.1
uses: dev-drprasad/delete-tag-and-release@8cd619d00037e4aeb781909c9a6b03940507d0da
with:
delete_release: true
tag_name: nightly
Expand All @@ -114,11 +115,12 @@ jobs:

- name: Create new nightly
if: github.ref_name == 'master'
uses: ncipollo/release-action@v1
uses: ncipollo/release-action@6c75be85e571768fa31b40abf38de58ba0397db5
with:
name: Nightly
generateReleaseNotes: true
prerelease: true
draft: false
artifacts: "${{env.RELEASE_DIR}}.zip,{{env.RELEASE_DIR}}.zip.sha256"
tag: nightly
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit e192c89

Please sign in to comment.