Skip to content

Commit

Permalink
[gh actions] use date as tag for dev-unstable dev-master (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
nerdCopter authored Dec 20, 2023
1 parent cd9c57a commit 43750f9
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 @@ -116,6 +116,7 @@ jobs:
echo "Repo: ${{ github.REPOSITORY }}"
echo "outputs.buildtag: ${{ needs.build.outputs.buildtag }}"
echo "outputs.shortsha: ${{ needs.build.outputs.shortsha }}"
echo "NOW=$(date +'%Y%m%d.%H%M%S')" >> $GITHUB_ENV
continue-on-error: true

- name: download artifacts
Expand All @@ -138,7 +139,7 @@ jobs:
repo: dev-unstable
owner: emuflight
token: ${{ secrets.NC_PAT_EMUF }}
tag: "bbe-${{ github.run_number }}"
tag: "${{ env.NOW }}-bbe"
draft: true
prerelease: true
allowUpdates: true
Expand Down Expand Up @@ -169,7 +170,7 @@ jobs:
repo: dev-master
owner: emuflight
token: ${{ secrets.NC_PAT_EMUF }}
tag: "bbe-${{ github.run_number }}"
tag: "${{ env.NOW }}-bbe"
draft: true
prerelease: true
allowUpdates: true
Expand Down

0 comments on commit 43750f9

Please sign in to comment.