Skip to content

Commit

Permalink
[gh actions] use date as tag for dev-unstable dev-master (#959)
Browse files Browse the repository at this point in the history
  • Loading branch information
nerdCopter authored Dec 20, 2023
1 parent 75b413e commit d23611a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ jobs:
echo "outputs.shortsha: ${{ needs.build.outputs.shortsha }}"
echo "outputs.artfact: ${{ needs.build.outputs.artifact }}"
echo "outputs.artfact: ${{ needs.build.outputs.version }}"
echo "NOW=$(date +'%Y%m%d.%H%M%S')" >> $GITHUB_ENV
continue-on-error: true

- name: download artifacts
Expand All @@ -181,7 +182,7 @@ jobs:
repo: dev-unstable
owner: emuflight
token: ${{ secrets.NC_PAT_EMUF }}
tag: "hex-${{ github.run_number }}"
tag: "${{ env.NOW }}-hex"
draft: true
prerelease: true
allowUpdates: true
Expand Down Expand Up @@ -213,7 +214,7 @@ jobs:
repo: dev-master
owner: emuflight
token: ${{ secrets.NC_PAT_EMUF }}
tag: "hex-${{ github.run_number }}"
tag: "${{ env.NOW }}-hex"
draft: true
prerelease: true
allowUpdates: true
Expand Down

0 comments on commit d23611a

Please sign in to comment.