Skip to content

Commit 9c31f6d

Browse files
committed
added zenodo release
1 parent c83f4c4 commit 9c31f6d

File tree

3 files changed

+37
-2
lines changed

3 files changed

+37
-2
lines changed

.github/actions/benchexec-report/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ runs:
1111
sudo add-apt-repository ppa:sosy-lab/benchmarking
1212
sudo apt install benchexec
1313
- name: Download artifacts
14-
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
14+
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v3.0.2
1515
with:
1616
path: artifacts
1717
- name: Generate tables

.github/actions/benchexec-test/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ runs:
2020
command: |
2121
sudo add-apt-repository ppa:sosy-lab/benchmarking
2222
sudo apt install benchexec python3
23-
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
23+
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v3.0.2
2424
name: Get archive
2525
with:
2626
name: ConcurrentWitness2Test

.github/workflows/linux-build-test-deploy.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,41 @@ jobs:
2626
- name: Build
2727
uses: ./.github/actions/create-archive
2828

29+
release:
30+
needs: build
31+
runs-on: ubuntu-24.04
32+
if: "${{ github.event.inputs.message != '' && github.ref == 'refs/heads/master' && github.event_name != 'pull_request' }}"
33+
steps:
34+
- name: Checkout repository
35+
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
36+
- name: Download Artifact
37+
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v3.0.2
38+
with:
39+
name: ConcurrentWitness2Test
40+
path: ./ConcurrentWitness2Test.zip
41+
- name: Create Release
42+
uses: softprops/action-gh-release@v1
43+
with:
44+
tag_name: ${{ github.ref_name }}
45+
name: ${{ github.ref_name }}
46+
body: ${{ github.event.inputs.message }}
47+
env:
48+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
49+
- name: Upload Release Asset
50+
uses: softprops/action-gh-release@v1
51+
with:
52+
tag_name: ${{ github.ref_name }}
53+
name: ConcurrentWitness2Test.zip
54+
asset_path: ./ConcurrentWitness2Test.zip
55+
env:
56+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
57+
- name: Create zenodo release and deploy tools
58+
uses: ./.github/actions/zenodo-release
59+
with:
60+
tool: ConcurrentWitness2Test
61+
prevrecord: 17407869
62+
token: ${{secrets.zenodo_token}}
63+
2964

3065
test-benchexec:
3166
strategy:

0 commit comments

Comments
 (0)